diff options
Diffstat (limited to 'common/commandline/fish.fish')
-rw-r--r-- | common/commandline/fish.fish | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/common/commandline/fish.fish b/common/commandline/fish.fish new file mode 100644 index 0000000..294849c --- /dev/null +++ b/common/commandline/fish.fish | |||
@@ -0,0 +1,16 @@ | |||
1 | # Disable greeting | ||
2 | set fish_greeting | ||
3 | set -g fish_key_bindings fish_vi_key_bindings | ||
4 | |||
5 | bind -M insert ctrl-Z 'fg ; commandline -f repaint' | ||
6 | |||
7 | function ssht | ||
8 | ssh -t "$argv" "tmux new-session -A -s 'ssh-$HOST'" | ||
9 | end | ||
10 | |||
11 | function cdt | ||
12 | builtin cd (mktemp -d) | ||
13 | builtin pwd | ||
14 | end | ||
15 | |||
16 | # TODO: sll | ||