dotfiles/conf.d/zim/modules/jl-helper/init.zsh
2021-04-04 11:39:18 +02:00

47 lines
786 B
Bash

#
# Personal aliases
#
#
# Admin
#
alias udvrld='sudo udevadm control --reload-rules && sudo udevadm trigger'
#
# Editors
#
alias vim='nvim' # redirect vim to nvim
#
# 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