dotfiles/.bash_aliases

55 lines
1.1 KiB
Bash
Raw Normal View History

2017-02-24 15:02:49 +00:00
# .bash_aliases
# (c) pcht 199x - 2019
2017-02-06 09:58:58 +00:00
alias ls='ls -F --color'
alias l='ls -lh'
2017-02-06 09:58:58 +00:00
alias d='ls -al | egrep ^d'
2019-04-02 14:44:00 +00:00
alias dl='ls -al | egrep "^[d|l]"'
alias ll='ls -alh'
2017-02-24 15:02:49 +00:00
alias h=history
2017-05-10 13:04:26 +00:00
alias td='todo -c --force-colour --filter -done,+children | less -r'
2017-02-24 15:02:49 +00:00
alias tdall='todo --force-colour -A|less -r'
alias o=xdg-open
2017-02-24 15:02:49 +00:00
alias pp='python -mjson.tool'
2017-04-21 10:25:15 +00:00
alias cd='cd -P'
2018-03-14 09:10:45 +00:00
alias tm=tmux
alias tma='tmux attach'
alias tmn='tmux new'
2019-04-02 14:44:00 +00:00
# raccourcis
alias vmc='vim ~/.mailcap'
2019-04-02 14:44:00 +00:00
# bash
alias sa='source ~/.bash_aliases'
alias va='vim ~/.bash_aliases'
alias vb='vim ~/.bashrc'
# irssi
alias vic='vim ~/.irssi/config'
# mutt
alias cm='cd ~/.mutt'
2019-04-02 14:44:00 +00:00
alias vm='vim ~/.mutt/muttrc'
alias vma='vim ~/.mutt/alias'
# w3m
alias vw='vim ~/.w3m/config'
# fzf
alias vf='vim $(fzf --preview="head -$LINES {}")'
alias of='xdg-open "$(fzf --preview="head -$LINES {}")"'
#newsboat
alias nb=newsboat
alias cnb='cd ~/.newsboat'
alias vnbu='vim ~/.newsboat/urls'
alias vnbc='vim ~/.newsboat/config'
# dirs
alias cb='cd ~/bin'
alias cdoc='cd ~/docs/docs-braque'
alias cdot='cd ~/dotfiles'
alias csrc='cd ~/src'
alias cdev='cd ~/devel'
2017-02-24 15:02:49 +00:00
# end .bash_aliases