More updates

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
2022-01-06 19:17:46 +01:00
parent 99533ff670
commit 72c0f1b3c8
7 changed files with 17 additions and 286 deletions

View File

@@ -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}')
}