From fc56152e8075883284037774bfa879c71916c316 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sun, 18 Oct 2020 16:12:08 +0200 Subject: [PATCH] Add aliases --- .aliasrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.aliasrc b/.aliasrc index 8d3f3ea..2776a31 100644 --- a/.aliasrc +++ b/.aliasrc @@ -5,7 +5,6 @@ alias ..="cd .." alias ...="cd ../.." # Colorize output - alias ls="ls --color=auto" alias grep="grep --color=auto" alias ip='ip --color' @@ -17,6 +16,8 @@ alias la='ls -lha' alias lgrep='l . | grep' alias lagrep='la . | grep' +# Pretty print path variables +alias path='echo -e ${PATH//:/\\n}' alias fzfpac="pacman -Slq | fzf -m --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S" @@ -34,3 +35,4 @@ alias now='date "+%I:%M %a %d %b"' alias spot='ncspot' alias todo='todoist' alias weather='curl wttr.in' +alias zzz='systemctl suspend && exit'