Skip to content

Instantly share code, notes, and snippets.

@SyBen
Created November 20, 2017 08:33
Show Gist options
  • Save SyBen/1ecc43c784b41628b7133517afc5364e to your computer and use it in GitHub Desktop.
Save SyBen/1ecc43c784b41628b7133517afc5364e to your computer and use it in GitHub Desktop.
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
eval $(thefuck --alias)
alias vim='nvim'
alias us='setxkbmap us -variant intl'
alias fr='setxkbmap fr'
alias qss='grep -irn'
alias xxd='hexdump -C'
alias ccat='pygmentize -g -O bg=dark,style=colorful,linenos=1'
alias y2m='youtube-dl -x --audio-format=mp3 --audio-quality=320k'
alias ds='du -hd 1 | sort -hr'
cl() {
cd "$1" || exit
ls
}
# Environment variables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment