Add files via upload
This commit is contained in:
3
config/fish/functions/fish_prompt.fish
Normal file
3
config/fish/functions/fish_prompt.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function fish_prompt
|
||||
eval /usr/bin/powerline-go -hostname-only-if-ssh -theme gruvbox -modules venv,ssh,cwd,git,load,hg,jobs,exit,root $status -jobs (count (jobs -p))
|
||||
end
|
||||
3
config/fish/functions/fish_user_key_bindings.fish
Normal file
3
config/fish/functions/fish_user_key_bindings.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function fish_user_key_bindings
|
||||
fzf_key_bindings
|
||||
end
|
||||
8
config/fish/functions/yazi.fish
Normal file
8
config/fish/functions/yazi.fish
Normal file
@@ -0,0 +1,8 @@
|
||||
function y
|
||||
set tmp (mktemp -t "yazi-cwd.XXXXXX")
|
||||
yazi $argv --cwd-file="$tmp"
|
||||
if set cwd (command cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
|
||||
builtin cd -- "$cwd"
|
||||
end
|
||||
rm -f -- "$tmp"
|
||||
end
|
||||
Reference in New Issue
Block a user