fish: dirent + zoxide + eza + abbrs
This commit is contained in:
parent
a9ecddc45e
commit
cadf1e2e99
2 changed files with 26 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ Dependencies:
|
|||
- starship
|
||||
- btop
|
||||
- jq
|
||||
- eza
|
||||
- adw-gtk-theme
|
||||
- papirus-icon-theme
|
||||
- qt5ct-kde
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue