shell: zsh -> fish
This commit is contained in:
11
.config/fish/config.fish
Normal file
11
.config/fish/config.fish
Normal file
@ -0,0 +1,11 @@
|
||||
set fish_greeting
|
||||
|
||||
fish_add_path $HOME/.local/bin:$PATH
|
||||
fish_add_path $HOME/.local/share/cargo/bin:$PATH
|
||||
fish_add_path $HOME/.local/share/go/bin:$PATH
|
||||
fish_add_path $HOME/.local/share/npm/bin:$PATH
|
||||
fish_add_path $HOME/tools/nvim:$PATH
|
||||
fish_add_path $HOME/.config/scripts/applications:$PATH
|
||||
fish_add_path $HOME/.config/scripts/util:$PATH
|
||||
fish_add_path xterm # for ssh
|
||||
set EDITOR nvim
|
||||
4
.config/fish/functions/.....fish
Normal file
4
.config/fish/functions/.....fish
Normal file
@ -0,0 +1,4 @@
|
||||
function .... --wraps='cd ../../..' --description 'alias ....=cd ../../..'
|
||||
cd ../../.. $argv
|
||||
|
||||
end
|
||||
4
.config/fish/functions/....fish
Normal file
4
.config/fish/functions/....fish
Normal file
@ -0,0 +1,4 @@
|
||||
function ... --wraps='cd ../..' --description 'alias ...=cd ../..'
|
||||
cd ../.. $argv
|
||||
|
||||
end
|
||||
4
.config/fish/functions/...fish
Normal file
4
.config/fish/functions/...fish
Normal file
@ -0,0 +1,4 @@
|
||||
function .. --description 'alias ..=cd ..'
|
||||
cd .. $argv
|
||||
|
||||
end
|
||||
4
.config/fish/functions/c.fish
Normal file
4
.config/fish/functions/c.fish
Normal file
@ -0,0 +1,4 @@
|
||||
function c --wraps=clear --description 'alias c=clear'
|
||||
clear $argv
|
||||
|
||||
end
|
||||
4
.config/fish/functions/cl.fish
Normal file
4
.config/fish/functions/cl.fish
Normal file
@ -0,0 +1,4 @@
|
||||
function cl --wraps='clear && ls' --description 'alias cl=clear && ls'
|
||||
clear && ls $argv
|
||||
|
||||
end
|
||||
4
.config/fish/functions/cll.fish
Normal file
4
.config/fish/functions/cll.fish
Normal file
@ -0,0 +1,4 @@
|
||||
function cll --wraps='clear && ls -lah' --description 'alias cll=clear && ls -lah'
|
||||
clear && ls -lah $argv
|
||||
|
||||
end
|
||||
4
.config/fish/functions/dots.fish
Normal file
4
.config/fish/functions/dots.fish
Normal file
@ -0,0 +1,4 @@
|
||||
function dots --wraps='/usr/bin/git --git-dir=$HOME/docs/git/dotfiles.git --work-tree=$HOME' --description 'alias dots=/usr/bin/git --git-dir=$HOME/docs/git/dotfiles.git --work-tree=$HOME'
|
||||
/usr/bin/git --git-dir=$HOME/docs/git/dotfiles.git --work-tree=$HOME $argv
|
||||
|
||||
end
|
||||
4
.config/fish/functions/fzfcd.fish
Normal file
4
.config/fish/functions/fzfcd.fish
Normal file
@ -0,0 +1,4 @@
|
||||
function fzfcd --wraps='source ~/.config/scripts/util/cdfzf' --description 'alias fzfcd=source ~/.config/scripts/util/cdfzf'
|
||||
source ~/.config/scripts/util/cdfzf $argv
|
||||
|
||||
end
|
||||
4
.config/fish/functions/grep.fish
Normal file
4
.config/fish/functions/grep.fish
Normal file
@ -0,0 +1,4 @@
|
||||
function grep --description 'alias grep=grep --color=auto'
|
||||
command grep --color=auto $argv
|
||||
|
||||
end
|
||||
4
.config/fish/functions/hc.fish
Normal file
4
.config/fish/functions/hc.fish
Normal file
@ -0,0 +1,4 @@
|
||||
function hc --wraps=herbstclient --description 'alias hc=herbstclient'
|
||||
herbstclient $argv
|
||||
|
||||
end
|
||||
4
.config/fish/functions/ll.fish
Normal file
4
.config/fish/functions/ll.fish
Normal file
@ -0,0 +1,4 @@
|
||||
function ll --wraps='ls -lah' --description 'alias ll=ls -lah'
|
||||
ls -lah $argv
|
||||
|
||||
end
|
||||
4
.config/fish/functions/n.fish
Normal file
4
.config/fish/functions/n.fish
Normal file
@ -0,0 +1,4 @@
|
||||
function n --wraps=nvim --description 'alias n=nvim'
|
||||
nvim $argv
|
||||
|
||||
end
|
||||
4
.config/fish/functions/oomox-wal.fish
Normal file
4
.config/fish/functions/oomox-wal.fish
Normal file
@ -0,0 +1,4 @@
|
||||
function oomox-wal --wraps='oomox-cli -o wal -t ~/.local/share/themes ~/.cache/wal/colors-oomox' --description 'alias oomox-wal=oomox-cli -o wal -t ~/.local/share/themes ~/.cache/wal/colors-oomox'
|
||||
oomox-cli -o wal -t ~/.local/share/themes ~/.cache/wal/colors-oomox $argv
|
||||
|
||||
end
|
||||
4
.config/fish/functions/pm.fish
Normal file
4
.config/fish/functions/pm.fish
Normal file
@ -0,0 +1,4 @@
|
||||
function pm --wraps=pulsemixer --description 'alias pm=pulsemixer'
|
||||
pulsemixer $argv
|
||||
|
||||
end
|
||||
4
.config/fish/functions/py.fish
Normal file
4
.config/fish/functions/py.fish
Normal file
@ -0,0 +1,4 @@
|
||||
function py --wraps=python --description 'alias py=python'
|
||||
python $argv
|
||||
|
||||
end
|
||||
4
.config/fish/functions/yeet.fish
Normal file
4
.config/fish/functions/yeet.fish
Normal file
@ -0,0 +1,4 @@
|
||||
function yeet --wraps='pikaur -Rsn' --description 'alias yeet=pikaur -Rsn'
|
||||
pikaur -Rsn $argv
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user