summaryrefslogtreecommitdiffstats
path: root/.bashrc
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-12-01 17:47:43 -0500
committerLuke Smith <luke@lukesmith.xyz>2018-12-01 17:47:43 -0500
commit3089a7eaa479a0cb5349a9a294e215b48bba03b7 (patch)
treecaa5c61f1b8ed824288ce39baacb57352f4b1db9 /.bashrc
parent4d7b0a7d410ab91047be13b915413dc555af9dda (diff)
downloadeibhear-3089a7eaa479a0cb5349a9a294e215b48bba03b7.tar.gz
eibhear-3089a7eaa479a0cb5349a9a294e215b48bba03b7.tar.zst
eibhear-3089a7eaa479a0cb5349a9a294e215b48bba03b7.zip
bashrc cleanout and color for diff and less/man
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc17
1 files changed, 4 insertions, 13 deletions
diff --git a/.bashrc b/.bashrc
index ff09632..cb33499 100644
--- a/.bashrc
+++ b/.bashrc
@@ -33,28 +33,19 @@ alias ka="killall"
alias g="git"
alias trem="transmission-remote"
alias mkd="mkdir -pv"
-alias ref="shortcuts.sh && source ~/.bashrc" # Refresh shortcuts manually and reload bashrc
+alias ref="shortcuts && source ~/.bashrc" # Refresh shortcuts manually and reload bashrc
alias bw="wal -i ~/.config/wall.png" # Rerun pywal
-alias pi="bash ~/.larbs/wizard/wizard.sh"
# Adding color
alias ls='ls -hN --color=auto --group-directories-first'
-alias grep="grep --color=auto" # Color grep - highlight desired sequence.
+alias grep="grep --color=auto"
+alias diff="diff --color=auto"
alias ccat="highlight --out-format=ansi" # Color cat - print file with syntax highlighting.
# Internet
alias yt="youtube-dl --add-metadata -ic" # Download video link
alias yta="yt -x -f bestaudio/best" # Download only audio
alias YT="youtube-viewer"
-alias ethspeed="speedometer -r enp0s25"
-alias wifispeed="speedometer -r wlp3s0"
-alias starwars="telnet towel.blinkenlights.nl"
-
-# TeX
-alias Txa="cp ~/Documents/LaTeX/article.tex"
-alias Txs="cp ~/Documents/LaTeX/beamer.tex"
-alias Txh="cp ~/Documents/LaTeX/handout.tex"
-
-source ~/.shortcuts
shdl() { curl -O $(curl -s http://sci-hub.tw/"$@" | grep location.href | grep -o http.*pdf) ;}
+vf() { $EDITOR $(fzf) ;}