comparison .bash_aliases @ 251:b00e6b403896

Added airline-colour-splits and removed whitespace
author Steve Huston <huston@srhuston.net>
date Wed, 27 Mar 2024 16:31:21 -0400
parents 96f00cdb6614
children df0b24d4fabd
comparison
equal deleted inserted replaced
250:5619e06b048e 251:b00e6b403896
204 [[ $1 =~ :[0-9]+$ ]] || \ 204 [[ $1 =~ :[0-9]+$ ]] || \
205 H=$1":443" 205 H=$1":443"
206 echo -n Q | openssl s_client -connect $H | openssl x509 -noout -dates 206 echo -n Q | openssl s_client -connect $H | openssl x509 -noout -dates
207 } 207 }
208 208
209 mc-backup() { 209 mc-backup() {
210 pushd ~/Dropbox/Saves/minecraft/saves; 210 pushd ~/Dropbox/Saves/minecraft/saves;
211 if [ -d $1 ]; then 211 if [ -d $1 ]; then
212 tar cvf - $1 | bzip2 > ../$1_`date +%Y%m%d%H%M%S`.tar.bz2; 212 tar cvf - $1 | bzip2 > ../$1_`date +%Y%m%d%H%M%S`.tar.bz2;
213 fi; 213 fi;
214 popd 214 popd
218 OUTDIR=${1:-`mktemp -d TOHTML.XXXXXX`} 218 OUTDIR=${1:-`mktemp -d TOHTML.XXXXXX`}
219 ROOT=`hg root` 219 ROOT=`hg root`
220 220
221 echo "<HTML><HEAD><TITLE>My dotfiles</TITLE></HEAD><BODY><UL>" > $OUTDIR/index.html 221 echo "<HTML><HEAD><TITLE>My dotfiles</TITLE></HEAD><BODY><UL>" > $OUTDIR/index.html
222 222
223 for F in `hg locate` ; do 223 for F in `hg locate` ; do
224 224
225 # Files to ignore from the list 225 # Files to ignore from the list
226 case $F in 226 case $F in
227 .vim/*) 227 .vim/*)
228 continue 228 continue