dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit 89a040bbed9c4a3d6c0596a15f0def9b60c4416f
parent 545f8e752a1e9db941453945f76e5de83ae80add
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Tue,  2 Feb 2021 23:05:13 -0500

Update shell aliases

Diffstat:
M.config/shrc | 17+++++------------
1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/.config/shrc b/.config/shrc @@ -1,4 +1,4 @@ -# shrc - .bashrc equivalent for dash/ash +# shrc - Shell configuration # If not running interactively, don't do anything case $- in @@ -19,25 +19,18 @@ else PS1='[`date +%H:%M:%S`] `hostname` `pwd | sed "s,^$HOME,~,"` $ ' fi -# Enable color support of ls and also add handy aliases -if [ -x /usr/bin/dircolors ]; then - test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" - alias ls='/bin/ls -vl --color=auto --group-directories-first' - alias grep='/bin/grep --color=auto' -fi - # Alias definitions: alias vi='nvim' -alias rm='rm -Iv' +alias ls='ls -vlp --color=auto --group-directories-first' +alias grep='/bin/grep --color=auto' +alias rm='rm -iv' alias mv='mv -iv' alias cp='cp -iv' -alias tmux='tmux -f "$XDG_CONFIG_HOME"/tmux/tmux.conf' +alias tmux='tmux -f "$XDG_CONFIG_HOME"/tmux.conf' alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"' alias copy='xclip -sel c' alias mbsync='mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc' alias lpr='lpr -o fit-to-page -o two-sided-long-edge' alias config='git --git-dir="$HOME"/docs/proj/dotfiles --work-tree="$HOME"' alias units='units --history "$XDG_CACHE_HOME"/units_history' -alias poweroff='yay -Syu && doas poweroff' -alias reboot='yay -Syu && doas reboot' alias spawn='st > /dev/null 2>&1 &'