Change indentation of bash config
This commit is contained in:
parent
60aabb17af
commit
6c6401c140
@ -106,47 +106,48 @@ bind '"\e[B": history-search-forward'
|
||||
** Aliases
|
||||
*** Better defaults for some commands
|
||||
#+BEGIN_SRC conf
|
||||
alias cp="cp -i" # confirm before overwriting something
|
||||
alias df='df -h' # human-readable sizes
|
||||
alias free='free -m' # show sizes in MB
|
||||
alias mutt="neomutt"
|
||||
alias cp="cp -i" # confirm before overwriting something
|
||||
alias df='df -h' # human-readable sizes
|
||||
alias free='free -m' # show sizes in MB
|
||||
alias mutt="neomutt"
|
||||
#+END_SRC
|
||||
|
||||
*** One letter aliases
|
||||
#+BEGIN_SRC conf
|
||||
alias r="ranger"
|
||||
alias t="tmux"
|
||||
alias v="nvim"
|
||||
alias sv='sudo -E nvim'
|
||||
alias g="git"
|
||||
alias m="neomutt"
|
||||
alias y="yadm"
|
||||
alias o="xdg-open"
|
||||
alias r="ranger"
|
||||
alias t="tmux"
|
||||
alias v="nvim"
|
||||
alias sv='sudo -E nvim'
|
||||
alias g="git"
|
||||
alias m="neomutt"
|
||||
alias y="yadm"
|
||||
alias o="xdg-open"
|
||||
#+END_SRC
|
||||
|
||||
*** Magit
|
||||
#+BEGIN_SRC conf
|
||||
alias magit="emacsclient -create-frame --alternate-editor=\"\" --eval '(magit-status)' ."
|
||||
alias magit="emacsclient -create-frame --alternate-editor=\"\" --eval '(magit-status)'"
|
||||
#+END_SRC
|
||||
|
||||
*** Vim-like
|
||||
#+BEGIN_SRC conf
|
||||
alias :q=exit
|
||||
alias :e=nvim
|
||||
alias :q=exit
|
||||
alias :e=nvim
|
||||
#+END_SRC
|
||||
|
||||
*** Youtube
|
||||
#+BEGIN_SRC conf
|
||||
alias yt="youtube-dl --add-metadata -ic" # Download video link
|
||||
alias yta="yt -x -f bestaudio/best" # Download only audio
|
||||
alias yt="youtube-dl --add-metadata -ic" # Download video link
|
||||
alias yta="yt -x -f bestaudio/best" # Download only audio
|
||||
#+END_SRC
|
||||
|
||||
*** Print each PATH entry on a separate line
|
||||
#+BEGIN_SRC conf
|
||||
alias path='echo -e ${PATH//:/\\n}'
|
||||
alias path='echo -e ${PATH//:/\\n}'
|
||||
#+END_SRC
|
||||
|
||||
*** TODO IP addresses - Remove the use of =dig= and =ifconfig=
|
||||
*** TODO [#B] IP addresses - Remove the use of =dig= and =ifconfig=
|
||||
Use =addr= instead
|
||||
#+BEGIN_SRC conf
|
||||
# alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
|
||||
# alias localip="ip route get 8.8.4.4 | head -1 | awk '{print $7}'"
|
||||
|
Loading…
Reference in New Issue
Block a user