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

View file

@ -58,4 +58,3 @@ set -gx fish_pager_color_completion normal
set -gx fish_pager_color_description d78700 --italics #caramel
# Background of the selected completion
set -gx fish_pager_color_selected_background --reverse

View file

@ -5,4 +5,3 @@
set -gx LANG fr_FR.UTF-8
set -gx LANGUAGE fr_FR
set -gx LC_ALL fr_FR.UTF-8

View file

@ -1 +0,0 @@
starship init fish | source