Initial commit
This commit is contained in:
30
home/apps/fish/config.fish
Normal file
30
home/apps/fish/config.fish
Normal file
@@ -0,0 +1,30 @@
|
||||
set -gx EDITOR nvim
|
||||
set -gx MANPAGER nvim +Man!
|
||||
|
||||
set -U fish_greeting
|
||||
set history_ignore rm
|
||||
|
||||
if test -n "$fish_private_mode"
|
||||
function fish_title
|
||||
echo "Private Shell"
|
||||
end
|
||||
end
|
||||
|
||||
function ll
|
||||
command exa -l $argv
|
||||
end
|
||||
function cat
|
||||
command bat $argv
|
||||
end
|
||||
|
||||
function fish_should_add_to_history
|
||||
for cmd in $history_ignore
|
||||
string match -qr "^$cmd" -- $argv; and return 1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
if status is-interactive
|
||||
starship init fish | source
|
||||
zoxide init fish | source
|
||||
end
|
||||
Reference in New Issue
Block a user