alias to install and update system , i and u respectively

This commit is contained in:
afonsofrancof 2022-11-08 15:48:21 +00:00
parent 6a6ba9cd6b
commit 73b29f4c1e

View file

@ -21,9 +21,13 @@ function core
sudo docker exec -it core core-gui
end
function i
sudo pacman -S $argv
end
set PATH $HOME/.cargo/bin $HOME/.local/bin $PATH
#set -q GHCUP_INSTALL_BASE_PREFIX[1]; or set GHCUP_INSTALL_BASE_PREFIX $HOME ; set -gx PATH $HOME/.cabal/bin /home/afonso/.ghcup/bin $PATH # ghcup-env
function u
sudo pacman -Syu $argv
end
set -q GHCUP_INSTALL_BASE_PREFIX[1]; or set GHCUP_INSTALL_BASE_PREFIX $HOME ; set -gx PATH $HOME/.cabal/bin /home/afonso/.ghcup/bin $PATH # ghcup-env
set PATH $HOME/.local/bin $HOME/.cargo/bin $HOME/.local/bin $PATH