@@ -157,13 +157,22 @@ function _crlf_file() {
|
||||
grep -q $'\x0D' "$1" && echo "$1" && [ $2 ] && dos2unix "$1"
|
||||
}
|
||||
|
||||
function git-comandi()
|
||||
{
|
||||
if [ -s ~/.gitlocal ]; then
|
||||
unlink ~/.gitlocal
|
||||
fi
|
||||
|
||||
ln -s ~/.gitlocal_comandi ~/.gitlocal
|
||||
}
|
||||
|
||||
function git-work()
|
||||
{
|
||||
if [ -s ~/.gitlocal ]; then
|
||||
unlink ~/.gitlocal
|
||||
fi
|
||||
|
||||
ln -s ~/.gitlocal_work ~/.gitlocal
|
||||
ln -s ~/.gitlocal_yuki ~/.gitlocal
|
||||
}
|
||||
|
||||
function git-private()
|
||||
@@ -180,7 +189,7 @@ for cmd in password hex2hsl hex2rgb escape codepoint ssh-key myip; do
|
||||
eval "function $cmd+() { $cmd \$@ | c; }"
|
||||
done
|
||||
|
||||
function jira()
|
||||
function k8s-ssh()
|
||||
{
|
||||
open "https://comandi.atlassian.net/browse/CMD-${1}"
|
||||
ssh admin@$(kubectl describe node $1 | grep -i externaldns | awk '{print $2}')
|
||||
}
|
||||
|
Reference in New Issue
Block a user