dotfiles/conf.d/zim/modules/jl-helper/init.zsh

59 lines
1.1 KiB
Bash
Raw Normal View History

2021-02-19 20:34:24 +00:00
#
# Personal aliases
#
2021-03-27 16:01:37 +00:00
#
# Admin
#
alias udvrld='sudo udevadm control --reload-rules && sudo udevadm trigger'
2021-02-19 20:34:24 +00:00
#
# Editors
#
2021-03-27 16:01:37 +00:00
alias vim='nvim' # redirect vim to nvim
2021-02-19 20:34:24 +00:00
2021-05-03 20:57:01 +00:00
#
# Mail, internet
#
alias mutt='neomutt -f ${HOME}/Mail/jeff.lance@mala.fr/inbox/'
alias neomutt='neomutt -f ${HOME}/Mail/jeff.lance@mala.fr/inbox/'
2021-02-19 20:34:24 +00:00
#
# Utilities
#
2021-04-04 09:39:18 +00:00
alias ls='lsd' # pretty ls
2021-02-19 20:34:24 +00:00
alias md='mkdir -p' # mkdir alias
alias open='xdg-open' # open files
2021-05-27 19:31:12 +00:00
alias t='tmux' # tmux
alias ta='t a -t' # tmux attach to a session
alias tls='t ls' # tmux list sessions
alias tn='t n -t' # tmux new session
2021-03-27 16:01:37 +00:00
alias xcolor='xcolor | xclip -i' # xcolor
2021-05-27 19:31:12 +00:00
alias youtube-dl='youtube-dl -f best' # youtube-dl best download
2021-02-19 20:34:24 +00:00
#
# Shortcuts
#
2021-03-27 16:01:37 +00:00
hash -d crs="${HOME}/Cours" # cours
2021-02-19 20:34:24 +00:00
hash -d doc="${HOME}/Documents" # documents
2021-03-03 09:37:37 +00:00
hash -d dot="${HOME}/dotfiles" # dotfiles
2021-02-19 20:34:24 +00:00
#
# Environment
#
# interactive comments
setopt interactivecomments
bindkey '^R' history-incremental-search-backward