diff options
Diffstat (limited to '.aliases')
-rw-r--r-- | .aliases | 24 |
1 files changed, 22 insertions, 2 deletions
@@ -20,6 +20,23 @@ alias lsh='ls -lh' alias la='ls -lah --group-directories-first' alias count='ls -l | wc -l' alias sizes=' du --summarize --human-readable *' +alias t='tre -l 1' + +# calendars +# year view wired +alias kwy="khal list -a Wired today 365d" +alias kww="khal list -a Wired today 7d" + +# journals (https://jrnl.sh/en/stable/) +alias j="jrnl" +alias jl="jrnl -j log" +#search jrnl +alias js="jrnl -r -s" +alias jw="jrnl -j wired" +#pull all urls out of wired jrnl +alias jwl="j -j wired --short | urlscan" +#search wired jrnl +alias jws="jrnl -j wired -r -s" # cd alias ...='cd ../../../' @@ -45,8 +62,12 @@ alias g="git " alias gs="git status" alias gc="git commit -S " alias gl="git log" +alias gp="git pull" alias ga="git add" +alias gm="git mv" alias gaa="git annex add" +alias gafk="git annex fsck -q" +alias gas="git annex sync" #apps alias music='ncmpcpp' @@ -101,10 +122,9 @@ 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"' +alias charge='upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep -E "time to empty|percentage"' alias gpphoto="~/./bin/download-photos-gopro.py /mnt/card/DCIM/100GOPRO/" alias gpvid="~/./bin/download-videos-gopro.py /mnt/card/DCIM/100GOPRO/" |