diff options
| author | Paul Buetow <paul@buetow.org> | 2025-04-20 12:37:36 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-04-20 12:37:36 +0300 |
| commit | 11708c519139f48d628041897291abb0d4bebaab (patch) | |
| tree | e9eb462f3a786b7403e9ae910234d4693a4f0147 | |
| parent | ccd0b2830f3607d420e56d14509b1c1534b9970a (diff) | |
adding more on fish
| -rw-r--r-- | dotfiles/fish/conf.d/config.fish | 8 | ||||
| -rw-r--r-- | dotfiles/zsh/zshrc_d/dotfiles.source.zsh | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/dotfiles/fish/conf.d/config.fish b/dotfiles/fish/conf.d/config.fish index 9cf61db..459b8c5 100644 --- a/dotfiles/fish/conf.d/config.fish +++ b/dotfiles/fish/conf.d/config.fish @@ -1,2 +1,8 @@ -set -g EDITOR hx fish_vi_key_bindings + +set -g EDITOR hx +set -g VISUAL hx + +# Git stuff +abbr -a gl 'git log --pretty=oneline --graph --decorate --all' +abbr -a gp 'begin; git commit -a; and git pull; and git push; end' diff --git a/dotfiles/zsh/zshrc_d/dotfiles.source.zsh b/dotfiles/zsh/zshrc_d/dotfiles.source.zsh index 2e80d04..423fa87 100644 --- a/dotfiles/zsh/zshrc_d/dotfiles.source.zsh +++ b/dotfiles/zsh/zshrc_d/dotfiles.source.zsh @@ -24,7 +24,7 @@ dotfiles::fuzzy::edit () { local -r prev_pwd="$(pwd)" cd $DOTFILES_DIR local -r dotfile="$(find . -type f -not -path '*/.git/*' | fzf)" - $VISUAL "$dotfile" + $EDITOR "$dotfile" if grep -F -q source.zsh <<< "$dotfile"; then echo "Sourcing $dotfile" source "$dotfile" |
