wrappers/fish: add zoxide and direnv properly

This commit is contained in:
Nikodem Rabuliński 2024-02-02 00:35:18 +01:00
parent b03e1e7080
commit 03fcd581a9
3 changed files with 25 additions and 18 deletions

View file

@ -1,15 +1,25 @@
# Abbreviations
## nix
abbr --add --global -- ns 'nix shell'
abbr --add --global -- nss 'nix search'
abbr --add --global -- flake-update 'nix flake lock --update-input'
## git
abbr --add --global -- gs 'git status'
abbr --add --global -- gp 'git pull'
abbr --add --global -- gc 'git checkout'
abbr --add --global -- ga 'git add'
abbr --add --global -- gr 'git rebase'
status --is-interactive
and begin
# Aliases
alias cat bat
alias l 'eza -lah --group-directories-first --icons'
# Abbreviations
## nix
abbr --add --global -- ns 'nix shell'
abbr --add --global -- nss 'nix search'
abbr --add --global -- flake-update 'nix flake lock --update-input'
## git
abbr --add --global -- gs 'git status'
abbr --add --global -- gp 'git pull'
abbr --add --global -- gc 'git checkout'
abbr --add --global -- ga 'git add'
abbr --add --global -- gr 'git rebase'
abbr --add --global -- gd 'git diff'
abbr --add --global -- gl 'git log'
# Aliases
alias cat bat
alias l 'eza -lah --group-directories-first --icons'
zoxide init fish | source
direnv hook fish | source
end