diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2021-01-13 23:31:44 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2021-01-13 23:48:04 +0100 |
commit | 45503702fdb366ad643f4827e50c0df7cf93980e (patch) | |
tree | 5bf4bba9e22b75b39167351df42243b5b97122b5 /bash/.bash_aliases | |
parent | 64b8b0c0ea9776f4d8002af1f57bf846dfe2697e (diff) |
Reorder using Stow better
Diffstat (limited to 'bash/.bash_aliases')
-rw-r--r-- | bash/.bash_aliases | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/bash/.bash_aliases b/bash/.bash_aliases deleted file mode 100644 index 55b8292..0000000 --- a/bash/.bash_aliases +++ /dev/null @@ -1,44 +0,0 @@ -# vimdiff style with nvim -alias vim='nvim' -alias nvimdiff='nvim -d' - -# ssh as root -> Sysadmin trick -alias r='ssh -l root' - -# fuck! -alias fuck='COMMAND=$(history -p \!\!); echo sudo $COMMAND; sudo $COMMAND' - -# enable color support of ls and also add handy aliases -alias ls='ls --color=auto' -alias grep='grep --color=auto' -alias fgrep='fgrep --color=auto' -alias egrep='egrep --color=auto' - -# some more ls aliases -alias ll='ls -alF' -alias la='ls -A' -alias l='ls -CF' - -# Add an "alert" alias for long running commands. Use like so: -# sleep 10; alert -alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' - - -# alias for Node.js projects -alias ntree='tree -I node_modules' -# alias for Clojure projects -alias ctree='tree -I target' - -# Clean whiteboards! -# found at: https://gist.github.com/lelandbatey/8677901 -alias whiteboard="convert $1 -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 $2" - -# Pandoc for ElenQ -alias pandoc-xelatex="pandoc $@ --pdf-engine=xelatex --to latex -N" -alias elenqdoc-article="pandoc-xelatex $@ --standalone --template elenq-article --metadata=documentclass:article" -alias elenqdoc-book="pandoc-xelatex $@ --standalone --template elenq-book --metadata=documentclass:book --top-level-division=chapter" - -# Kitty -if [ $TERM = "xterm-kitty" ]; then - alias ssh="kitty +kitten ssh" -fi |