Site Tools


marc:linux:aliases

This is an old revision of the document!


Some handy aliases for ~/.bashrc or ~/.zshrc:

# aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias df='df --exclude-type=squashfs'
alias upgrade='sudo apt update && sudo apt upgrade'
alias nzb='/home/marcv/bin/nzbget_start.sh'
alias mounts='/home/marcv/bin/mounts.sh'
alias myip='curl http://ipecho.net/plain; echo'
ZSH specific (zsh plugins needed):
alias ws='web_search google'
alias wsd='web_search duckduckgo'
wal:

Install wal to automate wallpaper change + font colors

wget https://github.com/dylanaraps/wal/raw/master/wal
mkdir ~/widescreen/wallpaper
echo "cp "$(find ~/widescreen -type f -print | shuf -n 1)" ~/widescreen/wallpaper/wallpaper.jpg && ~/bin/wal -i ~/widescreen/wallpaper/wallpaper.jpg && clear && neofetch" > ~/bin/wallpaper.sh
chmod +x ~/bin/wallpaper.sh
echo 'alias wlp="~/bin/wallpaper.sh"' >> ~/.zshrc
fzf:

alias se='du -a ~/bin | awk “{print $2}” | fzf | xargs -r $EDITOR' https://www.youtube.com/watch?v=vt33Hp-4RXg

marc/linux/aliases.1634665996.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki