aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxero <x@xero.nu>2015-05-02 02:49:55 -0400
committerxero <x@xero.nu>2015-05-02 02:49:55 -0400
commit4d09643a3e665048e3bfc46cda0a83204e7c854e (patch)
treed0ae38bfa28ae09e3f2cad0c70484dc3391879b3
parent29f030ccd3c2969c340f42c468b3b09071b67d14 (diff)
downloaddotfiles_ascii-4d09643a3e665048e3bfc46cda0a83204e7c854e.tar.xz
dotfiles_ascii-4d09643a3e665048e3bfc46cda0a83204e7c854e.zip
update zsh aliases
-rwxr-xr-xzsh/.zsh/aliases.zsh12
1 files changed, 7 insertions, 5 deletions
diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh
index 16d12c8..e154b66 100755
--- a/zsh/.zsh/aliases.zsh
+++ b/zsh/.zsh/aliases.zsh
@@ -15,11 +15,9 @@
# ░░░░░░░░░░
#
#█▓▒░ aliases
+alias ll="ls -lah --color=auto"
alias ls="ls --color=auto"
-alias ll="ls -la --color=auto"
-alias lsla="ls -la --color=auto"
-alias lsls="ls -la --color=auto"
-alias lsl="ls -l --color=auto"
+alias lsl="ls -lh --color=auto"
alias "cd.."="cd ../"
alias up="cd ../"
alias v="vim"
@@ -48,7 +46,7 @@ alias sprunge="curl -F 'sprunge=<-' http://sprunge.us"
alias clbin="curl -F 'clbin=<-' https://clbin.com"
alias toiletlist='for i in ${TOILET_FONT_PATH:=/usr/share/figlet}/*.{t,f}lf; do j=${i##*/}; echo ""; echo "╓───── "$j; echo "╙────────────────────────────────────── ─ ─ "; echo ""; toilet -d "${i%/*}" -f "$j" "${j%.*}"; done'
alias ascii="toilet -t -f 3d"
-alias metal="toilet -t -f 3d --metal"
+alias future="toilet -t -f future"
alias pacman="sudo pacman"
alias systemctl="sudo systemctl"
alias apachereload='sudo systemctl restart httpd.service'
@@ -64,3 +62,7 @@ pcat() {
pless() {
pygmentize -f terminal256 -O style=monokai -g $1 | less -r
}
+# read markdown files like manpages
+mdman() {
+ grep -v "\-\-\-\-\-" "$*" | pandoc -s -f markdown -t man | groff -T utf8 -man | less
+}