Reorganize fish config
Этот коммит содержится в:
родитель
6a59ad80c6
Коммит
6af97cb0fa
|
@ -61,44 +61,3 @@ function fish_title
|
|||
end
|
||||
end
|
||||
|
||||
# ___ ____ _ _ ____ ____ __ __
|
||||
# / __)( ___)( \( )( ___)( _ \ /__\ ( )
|
||||
# ( (_-. )__) ) ( )__) ) / /(__)\ )(__
|
||||
# \___/(____)(_)\_)(____)(_)\_)(__)(__)(____)
|
||||
# -==General Aliases and Functions==-
|
||||
|
||||
function vi
|
||||
/usr/bin/vim $argv
|
||||
end
|
||||
|
||||
function refish
|
||||
. ~/.config/fish/config.fish
|
||||
end
|
||||
|
||||
# A DOS-like title command
|
||||
function title
|
||||
set -gx FISH_CUSTOM_TITLE "$argv"
|
||||
end
|
||||
|
||||
# Color grepping!
|
||||
set -gx GREP_COLOR 31
|
||||
function grep
|
||||
/bin/grep --exclude=min.js --color=auto $argv
|
||||
end
|
||||
|
||||
# ls aliases. Fedora defaults, but here for compatibility
|
||||
function ls
|
||||
/bin/ls --color=auto $argv
|
||||
end
|
||||
function ll
|
||||
/bin/ls -hl --color=auto $argv
|
||||
end
|
||||
|
||||
function ping
|
||||
/bin/ping -c 10 $argv
|
||||
end
|
||||
|
||||
# socks tunnel in background
|
||||
function socks
|
||||
/usr/bin/ssh -f -N -D 8080 kirsle@kirsle.net
|
||||
end
|
||||
|
|
6
home/.config/fish/functions/grep.fish
Обычный файл
6
home/.config/fish/functions/grep.fish
Обычный файл
|
@ -0,0 +1,6 @@
|
|||
# Color grepping!
|
||||
set -gx GREP_COLOR 31
|
||||
function grep
|
||||
/bin/grep --exclude=min.js --color=auto $argv
|
||||
end
|
||||
|
4
home/.config/fish/functions/ll.fish
Обычный файл
4
home/.config/fish/functions/ll.fish
Обычный файл
|
@ -0,0 +1,4 @@
|
|||
# ls aliases. Fedora defaults, but here for compatibility
|
||||
function ll
|
||||
/bin/ls -hl --color=auto $argv
|
||||
end
|
5
home/.config/fish/functions/ls.fish
Обычный файл
5
home/.config/fish/functions/ls.fish
Обычный файл
|
@ -0,0 +1,5 @@
|
|||
# ls aliases. Fedora defaults, but here for compatibility
|
||||
function ls
|
||||
/bin/ls --color=auto $argv
|
||||
end
|
||||
|
3
home/.config/fish/functions/ping.fish
Обычный файл
3
home/.config/fish/functions/ping.fish
Обычный файл
|
@ -0,0 +1,3 @@
|
|||
function ping
|
||||
/bin/ping -c 10 $argv
|
||||
end
|
4
home/.config/fish/functions/refish.fish
Обычный файл
4
home/.config/fish/functions/refish.fish
Обычный файл
|
@ -0,0 +1,4 @@
|
|||
# refish = reload the fish config
|
||||
function refish
|
||||
. ~/.config/fish/config.fish
|
||||
end
|
4
home/.config/fish/functions/socks.fish
Обычный файл
4
home/.config/fish/functions/socks.fish
Обычный файл
|
@ -0,0 +1,4 @@
|
|||
# socks tunnel in background
|
||||
function socks
|
||||
/usr/bin/ssh -f -N -D 8080 kirsle@kirsle.net
|
||||
end
|
4
home/.config/fish/functions/title.fish
Обычный файл
4
home/.config/fish/functions/title.fish
Обычный файл
|
@ -0,0 +1,4 @@
|
|||
# A DOS-like title command
|
||||
function title
|
||||
set -gx FISH_CUSTOM_TITLE "$argv"
|
||||
end
|
5
home/.config/fish/functions/vi.fish
Обычный файл
5
home/.config/fish/functions/vi.fish
Обычный файл
|
@ -0,0 +1,5 @@
|
|||
# Use vim when I type vi
|
||||
function vi
|
||||
/usr/bin/vim $argv
|
||||
end
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user