mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-05 04:08:03 +00:00
config(fish): add fish completions for cli tools
This commit is contained in:
1 parent
b1fb6ee6fb
commit
7db95c2076
48 files changed
+2241
No files matched your search
@@ -0,0 +1,8 @@
|
||||
function fish_title
|
||||
# Show a short hostname over SSH, otherwise just the current directory.
|
||||
if set -q SSH_TTY
|
||||
echo (prompt_hostname | string sub -l 10):(prompt_pwd)
|
||||
else
|
||||
prompt_pwd
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user