summaryrefslogtreecommitdiffstats
path: root/config/bash/bash_aliases
diff options
context:
space:
mode:
Diffstat (limited to 'config/bash/bash_aliases')
-rw-r--r--config/bash/bash_aliases20
1 files changed, 2 insertions, 18 deletions
diff --git a/config/bash/bash_aliases b/config/bash/bash_aliases
index 899f80f..46051cf 100644
--- a/config/bash/bash_aliases
+++ b/config/bash/bash_aliases
@@ -1,6 +1,5 @@
# Bash aliases.
#
-# Previously set environment variables work.
# Aliases are recursive (I.e., an alias inside an alias works).
@@ -9,12 +8,10 @@
alias e="$EDITOR"
alias aliases="$EDITOR ~/.bash_aliases && source ~/.bash_aliases"
-alias evrc='vim ~/.vim/vimrc'
-alias ebrc="$EDITOR ~/.bashrc && source ~/.bashrc"
-#alias jupyter-lab='jupyter-lab . &> /dev/null &' # Redirect stdout and stderr
# wtf error with Code-OSS
# Ref.: https://stackoverflow.com/a/73317738/7498073
alias code="code --enable-proposed-api ms-toolsai.jupyter"
+alias echopath='echo "$PATH" | tr ":" "\n"'
# Common program's options
@@ -51,11 +48,6 @@ alias cp='cp -i' # same
# Other program's options
# ======================================================================
-#alias feh='feh -g 640x480 -S filename' # opens files sorted by filename
-alias feh='feh -g 640x480 --auto-zoom --scale-down --on-last-slide hold'
-alias feht='feh -Tthumb_s'
-alias fehfx='feh -Tfs --slideshow-delay'
-alias fehfrx='feh -Tfs --recursive --slideshow-delay'
alias units='units --verbose'
alias tty-clock='tty-clock -cs'
@@ -65,17 +57,9 @@ alias youtube-dl_info='youtube-dl --get-filename --get-format --get-duration --g
alias youtube-dl_fast='youtube-dl --format "best[height<=720][fps<=?30]" -o '\''%(title)s.%(ext)s'\'
alias mpv_webcam='mpv av://v4l2:/dev/video0' # retrived from the Archwiki
alias mpv_nhk_720p='mpv "https://nhkwlive-ojp.akamaized.net/hls/live/2003459/nhkwlive-ojp-en/index_4M.m3u8"'
-alias scan_dpto_europa='hp-scan --mode=color --device=hpaio:/net/OfficeJet_Pro_6970?ip=192.168.0.7'
-#alias java8='~/code/openjdk8/jdk8u265-b01/bin/java'
-#alias javac8='~/code/openjdk8/jdk8u265-b01/bin/javac'
-#alias inf265_jupyterlab='cd /home/mitsuo/docs/courses/2021-1/INF265; \
-# jupyter lab'
# Cosmetic
# ======================================================================
-alias :q='cowsay -d "this isn'\''t Vim"' # To scape single quotes in single
- # quoted string first finish opened
- # string and add the scaped quote
- # (\').
+alias :q="cowsay -d \"this isn't Vim\""
alias :w="cowsay -b \"this isn't Vim\""