[MINOR] fish replaced functions with abbr
This commit is contained in:
parent
5c4604cd41
commit
1b4603b394
5 changed files with 9 additions and 54 deletions
|
@ -14,6 +14,6 @@ fish_add_path $HOME/.ghcup/bin
|
|||
|
||||
source ~/.config/fish/myfunctions/code.fish
|
||||
source ~/.config/fish/myfunctions/dotfiles.fish
|
||||
source ~/.config/fish/myfunctions/packages.fish
|
||||
source ~/.config/fish/myfunctions/pacman.fish
|
||||
source ~/.config/fish/myfunctions/qol.fish
|
||||
source ~/.config/fish/myfunctions/replacements.fish
|
||||
|
|
|
@ -2,9 +2,6 @@ function config
|
|||
/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME $argv
|
||||
end
|
||||
|
||||
function lazyconfig
|
||||
lazygit --git-dir=$HOME/dotfiles/ --work-tree=$HOME/ $argv
|
||||
end
|
||||
alias lc=lazyconfig
|
||||
abbr -a lc "lazygit --git-dir=$HOME/dotfiles/ --work-tree=$HOME/"
|
||||
|
||||
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
function i
|
||||
sudo pacman -S $argv
|
||||
end
|
||||
|
||||
function zi
|
||||
sudo zypper install $argv
|
||||
end
|
||||
|
||||
function s
|
||||
sudo pacman -Ss $argv
|
||||
end
|
||||
|
||||
function zs
|
||||
sudo zypper search $argv
|
||||
end
|
||||
|
||||
function u
|
||||
sudo pacman -Syu
|
||||
end
|
||||
|
||||
function zu
|
||||
sudo zypper refresh && sudo zypper update
|
||||
end
|
||||
|
||||
function r
|
||||
sudo pacman -Rns $argv
|
||||
end
|
||||
|
||||
function zr
|
||||
sudo zypper remove $argv
|
||||
end
|
||||
|
|
@ -1,16 +1,5 @@
|
|||
function i
|
||||
sudo pacman -S $argv
|
||||
end
|
||||
|
||||
function s
|
||||
sudo pacman -Ss $argv
|
||||
end
|
||||
|
||||
function u
|
||||
sudo pacman -Syu
|
||||
end
|
||||
|
||||
function r
|
||||
sudo pacman -Rns $argv
|
||||
end
|
||||
abbr -a i sudo pacman -S
|
||||
abbr -a s sudo pacman -Ss
|
||||
abbr -a u sudo pacman -Syu
|
||||
abbr -a r sudo pacman -Rns
|
||||
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
function ls
|
||||
exa --icons -l $argv
|
||||
end
|
||||
alias find=fd
|
||||
alias df=duf
|
||||
abbr -a find fd
|
||||
abbr -a df duf
|
||||
abbr -a v nvim
|
||||
function rm
|
||||
echo "rm is disabled, use trash instead"
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue