incorporate fish experiments into zsh
This commit is contained in:
parent
c38d88c08f
commit
748e7408b3
4 changed files with 10 additions and 10 deletions
|
@ -18,6 +18,10 @@ alias mkrt='make -C $(git rev-parse --show-toplevel)'
|
|||
alias mk="make"
|
||||
alias mkc="make -C"
|
||||
|
||||
alias yyyymmdd='date +%Y%m%d'
|
||||
alias ds='date +%Y-%m-%d'
|
||||
alias ts='date +%Y-%m-%dT%H:%M:%SZ'
|
||||
|
||||
# url encode/decode
|
||||
alias urldecode='python3 -c "import sys, urllib.parse as ul; \
|
||||
print(ul.unquote_plus(sys.argv[1]))"'
|
||||
|
|
|
@ -6,4 +6,3 @@ export VIV_NO_SETUPTOOLS=1
|
|||
export VIV_RUN_MODE='semi-ephemeral'
|
||||
|
||||
export TSM_CONFIG="$XDG_CONFIG_HOME/tsm/config-$(hostname).usu"
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@ ohmyzsh/ohmyzsh path:plugins/copyfile
|
|||
ohmyzsh/ohmyzsh path:plugins/extract
|
||||
ohmyzsh/ohmyzsh path:plugins/magic-enter
|
||||
ohmyzsh/ohmyzsh path:plugins/fancy-ctrl-z
|
||||
ohmyzsh/ohmyzsh path:plugins/colored-man-pages
|
||||
|
||||
# tools
|
||||
junegunn/fzf path:shell/completion.zsh
|
||||
|
|
|
@ -14,23 +14,18 @@ done
|
|||
# Ensure path arrays do not contain duplicates.
|
||||
typeset -gU path fpath cdpath
|
||||
|
||||
# add custom completions
|
||||
fpath=(
|
||||
${ZDOTDIR:-${XDG_CONFIG_HOME:-$HOME/.config}/zsh}/completions(-/FN)
|
||||
|
||||
$fpath
|
||||
)
|
||||
|
||||
# Set the list of directories that zsh searches for commands.
|
||||
path=(
|
||||
$HOME/{,.local/}{,s}bin(N)
|
||||
$HOME/.extra/bin(N)
|
||||
|
||||
$HOME/.{go,cargo,pyenv,pixi}/bin(N)
|
||||
$HOME/.zig(N)
|
||||
$HOME/.{go,cargo,pyenv,pixi,zig}/bin(N)
|
||||
|
||||
/opt/local/{,s}bin(N)
|
||||
/usr/{,local/}{,s}bin(N)
|
||||
/{opt,usr}/{,local/}{,s}bin(N)
|
||||
|
||||
# prefer NixOs paths to qtile path corruption
|
||||
/run/{wrappers,current-system/sw}/bin(N)
|
||||
|
@ -38,13 +33,14 @@ path=(
|
|||
$path
|
||||
)
|
||||
|
||||
# start by sourcing extras
|
||||
for rcfile in $ZDOTDIR/local/{current,shared}/*.{,z}sh(N); do
|
||||
source $rcfile
|
||||
done
|
||||
|
||||
# Set default less options.
|
||||
export LESS="${LESS:--g -i -M -R -S -w -z-4}"
|
||||
# Use `< file` to quickly view the contents of any file.
|
||||
[[ -z "$READNULLCMD" ]] || READNULLCMD=$PAGER
|
||||
|
||||
# needed for omz plugin colored-man-pages
|
||||
autoload colors && colors
|
||||
|
||||
|
|
Loading…
Reference in a new issue