fish: dirent + zoxide + eza + abbrs

This commit is contained in:
2 * r + 2 * t 2025-09-17 23:32:52 +10:00
parent a9ecddc45e
commit cadf1e2e99
2 changed files with 26 additions and 0 deletions

View file

@ -2,6 +2,31 @@ if status is-interactive
# Starship custom prompt
starship init fish | source
# Direnv + Zoxide
command -v direnv &> /dev/null && direnv hook fish | source
command -v zoxide &> /dev/null && zoxide init fish --cmd cd | source
# Better ls
alias ls='eza --icons --group-directories-first -1'
# Abbrs
abbr gd 'git diff'
abbr gc 'git commit -am'
abbr gl 'git log'
abbr gs 'git status'
abbr gst 'git stash'
abbr gsp 'git stash pop'
abbr gp 'git push'
abbr gpl 'git pull'
abbr gsw 'git switch'
abbr gsm 'git switch main'
abbr gb 'git branch'
abbr l 'ls'
abbr ll 'ls -l'
abbr la 'ls -a'
abbr lla 'ls -la'
# Custom colours
cat ~/.local/state/caelestia/sequences.txt 2> /dev/null