From 73b29f4c1e6c349f43dd056c450ffa78711e64cd Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Tue, 8 Nov 2022 15:48:21 +0000 Subject: [PATCH] alias to install and update system , i and u respectively --- .config/fish/config.fish | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 346c603..325238d 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -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