fixed/added some bash aliases and terminal alpha

This commit is contained in:
jon
2022-10-30 18:28:19 -05:00
parent f619055058
commit 1841878b94
2 changed files with 9 additions and 7 deletions

View File

@@ -23,9 +23,11 @@ export LESS='-C -M -j 3 -R -# 2'
alias l.='ls -lh --time-style=long-iso --color' 2>/dev/null
alias l='ls -lh --color --time-style=long'
alias ll='ls -lAh --color --time-style=long'
alias lsd='l -d */'
alias ld='l -d */'
alias lt='ls -lht'
alias ltr='ls -lhtr'
alias p='ping'
alias ip='ip -c'
alias ip='ip -br a'
#alias s='sudo $(history -p !!)'
alias s='sudo'
alias df='sudo df -hT -x tmpfs -x devtmpfs'
@@ -65,7 +67,6 @@ else
export EDITOR=/usr/bin/vim
fi
# so stupid, systemd ignores EDITOR and requires its own env variable
# just set it to whatever editor is
export SYSTEMD_EDITOR=$EDITOR
@@ -117,6 +118,8 @@ stopwatch () {
date1=`date +%s`; while true; do echo -ne "$(date -u --date @$((`date +%s` - $date1)) +%H:%M:%S)\r"; done
}
# call with number of seconds, will notify when done.
# eg, for 10 minutes: $ timer 600
timer() {
start="$(( $(date '+%s') + $1))"
while [ $start -ge $(date +%s) ]; do
@@ -155,6 +158,7 @@ n ()
fi
}
# ex will unarchive intelligently using the correct tool
ex() {
local c e i
@@ -194,5 +198,3 @@ ex() {
return "$e"
}
# turn off incredibly annoying bell
#xset b off

View File

@@ -9,8 +9,8 @@ URxvt.cursorUnderline: 1
!!! Real transparency (compositing)
URxvt.depth: 32
!URxvt*background: rgba:0000/0000/0200/c800
URxvt*background: rgba:0000/0000/0200/EA60
URxvt*background: rgba:0001/0000/0200/c800
!URxvt*background: rgba:0000/0000/0200/EA60
URxvt*perl-ext-common: default,matcher
URxvt*matcher.button: 1