diff options
Diffstat (limited to '.aliases')
-rw-r--r-- | .aliases | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -91,6 +91,7 @@ alias @i="vim $HOME/notes/@inbox.txt" # open and close encrypted volume: alias closevault="cd && cd ~/documents && tar cz vault/ -f vault.tar && gpg -c vault.tar && rm vault.tar && rm -rf vault && cd" alias openvault="cd && cd ~/documents && gpg vault.tar.gpg && tar -xzf vault.tar && rm vault.tar.gpg && rm -rf vault.tar && cd vault" + # strip spaces in file names alias stripspaces='for f in *\ *; do mv "$f" "${f// /_}"; done' @@ -100,6 +101,7 @@ alias watchtraffic="nload wlp3s0" alias mt="vnstat -m" alias mntHFS="sudo mount -t hfsplus -o force,rw" +alias j="jrnl" # get battery info: alias charge='upower -i /org/freedesktop/UPower/devices/battery_BAT1 | egrep "time to empty|percentage"' |