custom
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
function a
|
||||
mkdir -p /tmp/a
|
||||
cd /tmp/a
|
||||
mkdir -p /tmp/a
|
||||
cd /tmp/a
|
||||
end
|
||||
|
8
functions/bind_bang.fish
Normal file
8
functions/bind_bang.fish
Normal file
@ -0,0 +1,8 @@
|
||||
function bind_bang
|
||||
switch (commandline -t)[-1]
|
||||
case "!"
|
||||
commandline -t $history[1]; commandline -f repaint
|
||||
case "*"
|
||||
commandline -i !
|
||||
end
|
||||
end
|
9
functions/bind_dollar.fish
Normal file
9
functions/bind_dollar.fish
Normal file
@ -0,0 +1,9 @@
|
||||
function bind_dollar
|
||||
switch (commandline -t)[-1]
|
||||
case "!"
|
||||
commandline -t ""
|
||||
commandline -f history-token-search-backward
|
||||
case "*"
|
||||
commandline -i '$'
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user