diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2022-03-14 13:55:14 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2022-03-14 13:55:14 +0100 |
commit | 932461f2fce2f43ec95af885a832b0670e69ea1d (patch) | |
tree | 523fd43bc80f61be2ffd2b10e746673dccc40dae /.config/zsh | |
parent | Changes, added pipe-viewer config (diff) | |
download | dotfiles-bsd-932461f2fce2f43ec95af885a832b0670e69ea1d.tar.gz dotfiles-bsd-932461f2fce2f43ec95af885a832b0670e69ea1d.tar.bz2 dotfiles-bsd-932461f2fce2f43ec95af885a832b0670e69ea1d.tar.xz dotfiles-bsd-932461f2fce2f43ec95af885a832b0670e69ea1d.tar.zst dotfiles-bsd-932461f2fce2f43ec95af885a832b0670e69ea1d.zip |
Cool updates
Diffstat (limited to '.config/zsh')
-rw-r--r-- | .config/zsh/.zshrc | 8 | ||||
-rw-r--r-- | .config/zsh/alias.zsh | 7 |
2 files changed, 9 insertions, 6 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index a23bc14..eee7bde 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -56,10 +56,10 @@ bindkey -M vicmd "j" history-beginning-search-forward autoload edit-command-line && zle -N edit-command-line bindkey "^e" edit-command-line -[ -f "$ZDOTDIR"/alias.zsh ] && source "$ZDOTDIR"/alias.zsh -[ -f "$ZDOTDIR"/plugins.zsh ] && source "$ZDOTDIR"/plugins.zsh -[ -f "$HOME"/.local/packs/fzf/shell/completion.zsh ] && source "$HOME"/.local/packs/fzf/shell/completion.zsh -[ -f "$HOME"/.local/packs/fzf/shell/key-bindings.zsh ] && source "$HOME"/.local/packs/fzf/shell/key-bindings.zsh +[ -f "$ZDOTDIR"/alias.zsh ] && source "$ZDOTDIR"/alias.zsh +[ -f "$ZDOTDIR"/plugins.zsh ] && source "$ZDOTDIR"/plugins.zsh +[ -f "$XDG_PACKAGE_HOME"/fzf/shell/completion.zsh ] && source "$XDG_PACKAGE_HOME"/fzf/shell/completion.zsh +[ -f "$XDG_PACKAGE_HOME"/fzf/shell/key-bindings.zsh ] && source "$XDG_PACKAGE_HOME"/fzf/shell/key-bindings.zsh globalias() { if [[ $LBUFFER =~ ^[a-z0-9]+$ ]]; then diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 094d4ef..8f82550 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -16,7 +16,10 @@ alias exa='exa --color=always --group-directories-first' \ tree() { exa -T $@ | less } -alias c='clear' \ +alias \ + e='editorcmd' \ + vim='editorcmd' \ + c='clear' \ less='less --tabs 4' \ bc='bc -l' \ mkf='gmake fclean' \ @@ -70,7 +73,7 @@ upports() { doas portmaster -a } alias realupdate='doas portmaster -dya --no-confirm' -alias vim='nvim' \ +alias \ gst='git status' \ ga='git add' \ gco='git commit -m' \ |