fish: remove expand_dots binding
This commit is contained in:
parent
3a1e5bb978
commit
8aeeabb2a9
@ -49,9 +49,6 @@ if status --is-interactive
|
||||
# By default, Ctrl+L clears the screen
|
||||
# Add binding Ctrl+Alt+L to clear screen AND scrollback buffer
|
||||
bind \e\f 'clear; commandline -f repaint'
|
||||
|
||||
# Expand '...' to '../..'
|
||||
bind . expand_dots
|
||||
end
|
||||
|
||||
if not set -q __universals_initialized
|
||||
|
@ -1,12 +0,0 @@
|
||||
# https://github.com/nickeb96/puffer-fish
|
||||
function expand_dots -d 'Expand ... to ../..'
|
||||
set -l item (string split ' ' (commandline --cut-at-cursor))[-1]
|
||||
switch $item
|
||||
case './*'
|
||||
commandline --insert '.'
|
||||
case '*..'
|
||||
commandline --insert '/..'
|
||||
case '*'
|
||||
commandline --insert '.'
|
||||
end
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user