summaryrefslogtreecommitdiffstats
path: root/common/commandline/fish.fish
diff options
context:
space:
mode:
Diffstat (limited to 'common/commandline/fish.fish')
-rw-r--r--common/commandline/fish.fish16
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
2set fish_greeting
3set -g fish_key_bindings fish_vi_key_bindings
4
5bind -M insert ctrl-Z 'fg ; commandline -f repaint'
6
7function ssht
8 ssh -t "$argv" "tmux new-session -A -s 'ssh-$HOST'"
9end
10
11function cdt
12 builtin cd (mktemp -d)
13 builtin pwd
14end
15
16# TODO: sll