dotfiles/conf.d/zim/modules/jl-helper/init.zsh
2021-05-03 22:57:01 +02:00

55 lines
939 B
Bash

#
# Personal aliases
#
#
# Admin
#
alias udvrld='sudo udevadm control --reload-rules && sudo udevadm trigger'
#
# Editors
#
alias vim='nvim' # redirect vim to nvim
#
# Mail, internet
#
alias mutt='neomutt -f ${HOME}/Mail/jeff.lance@mala.fr/inbox/'
alias neomutt='neomutt -f ${HOME}/Mail/jeff.lance@mala.fr/inbox/'
#
# Utilities
#
alias ls='lsd' # pretty ls
alias md='mkdir -p' # mkdir alias
alias open='xdg-open' # open files
alias youtube-dl='youtube-dl -f best' # youtube-dl best download
alias xcolor='xcolor | xclip -i' # xcolor
#
# Shortcuts
#
hash -d crs="${HOME}/Cours" # cours
hash -d doc="${HOME}/Documents" # documents
hash -d dot="${HOME}/dotfiles" # dotfiles
#
# Environment
#
# interactive comments
setopt interactivecomments
bindkey '^R' history-incremental-search-backward