Useful Commands
Change default shell:
chsh -s /bin/bash $USERRestart shell (for bash, zsh, may not work with fish, csh, sh...)
exec "$SHELL" -lCreate GIF with your screen view:
sudo apt install -y peek && peekparu -S --noconfirm pac-pacman-aliases# FOR FISH
echo '
alias -s apt 'pac'
' >> ~/.config/fish/config.fish
echo '
function sudo
if functions -q $argv[1]
set cmd "command sudo fish -c \"$argv\""
eval $cmd
else
command sudo $argv
end
end
' > ~/.config/fish/functions/sudo.fishfuck : The Fuck is a magnificent app that corrects errors in previous console commands. Install script:
Remove unused packages
Clear shell history
Last updated