add(fish): source zoxide in fish

starship init has been moved too for consistency
This commit is contained in:
Léana 江 2023-03-22 20:23:51 +01:00
parent 3cd7ed6f6d
commit 1f97bc7493
6 changed files with 24 additions and 8 deletions

View file

@ -1,14 +1,18 @@
alias ls='tree -Cph -L 1'
alias la='tree -Cpha -L 1'
alias history='history | nl | tac | less -S +G'
alias hist='history | nl | tac | less -S +G'
alias v='nvim'
alias gvim='neovide'
if not uname -a | grep -qi darwin
if test (uname) = "Linux"
alias chmod='chmod --preserve-root'
alias chown='chown --preserve-root'
else
else if test (uname) = "Darwin"
alias hide_desktop='defaults write com.apple.finder CreateDesktop false; killall Finder'
alias show_desktop='defaults write com.apple.finder CreateDesktop true; killall Finder'
alias reset_launchpad='defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock'
else
# Neither, do nothing
end