Mercurial > index.cgi > dotfiles
comparison .shared/shared_bashrc @ 276:3b9662470765
Make an alias for eyaml since the RPM I used in 7 doesn't exist for 8 and it's in puppet anyway.
author | Steve Huston <huston@princeton.edu> |
---|---|
date | Mon, 20 May 2024 11:16:55 -0400 |
parents | 61b830d34016 |
children |
comparison
equal
deleted
inserted
replaced
275:99368487ffe6 | 276:3b9662470765 |
---|---|
118 H=$1 | 118 H=$1 |
119 [[ $1 =~ :[0-9]+$ ]] || \ | 119 [[ $1 =~ :[0-9]+$ ]] || \ |
120 H=$1":443" | 120 H=$1":443" |
121 echo -n Q | openssl s_client -connect $H | openssl x509 -noout -dates | 121 echo -n Q | openssl s_client -connect $H | openssl x509 -noout -dates |
122 } | 122 } |
123 alias eyaml="/opt/puppetlabs/puppet/bin/eyaml" | |
123 alias rot13="tr 'a-zA-Z' 'n-za-mN-ZA-M'" | 124 alias rot13="tr 'a-zA-Z' 'n-za-mN-ZA-M'" |
124 alias vi='vim' | 125 alias vi='vim' |
125 | 126 |
126 | 127 |
127 # vim: set filetype=sh : | 128 # vim: set filetype=sh : |