dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 48a5149047ddddef57e2d9b5001ff0db94f4209c
parent 8393f91e4eb3f88ad9f8f2029e35f3939ea77ec3
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Fri,  4 Oct 2019 05:28:51 -0400

Rework shell aliases/functions

Diffstat:
D.shrc.d/alias.sh | 15---------------
A.shrc.d/feh.sh | 5+++++
A.shrc.d/rsync.sh | 5+++++
A.shrc.d/tmux.sh | 6++++++
4 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/.shrc.d/alias.sh b/.shrc.d/alias.sh @@ -1,15 +0,0 @@ -alias ll="ls -l" -alias la="ls -A" -alias lla="ls -lA" -alias tas="tmux attach-session -t" -alias tns="tmux new-session -s" -alias tls="tmux list-sessions" -alias ts="tmux-session" -alias psh="pass show" -alias pc="pass -c" -alias pls="pass ls" -alias feh="feh --auto-rotate --scale-down" -alias rsync="rsync -C --include=.git/" -alias ag="ag -p ~/.cvsignore" -alias pacupdates="cat /run/motd.pacman" -alias psu="ps -U $LOGNAME" diff --git a/.shrc.d/feh.sh b/.shrc.d/feh.sh @@ -0,0 +1,5 @@ +type feh > /dev/null 2>&1 || return + +feh() { + feh --auto-rotate --scale-down "$@" +} diff --git a/.shrc.d/rsync.sh b/.shrc.d/rsync.sh @@ -0,0 +1,5 @@ +type rsync > /dev/null 2>&1 || return + +rsync() { + rsync -C --include=.git "$@" +} diff --git a/.shrc.d/tmux.sh b/.shrc.d/tmux.sh @@ -0,0 +1,6 @@ +type tmux > /dev/null 2>&1 || return + +alias tas="tmux attach-session -t" +alias tns="tmux new-session -s" +alias tls="tmux list-sessions" +alias ts="tmux-session"