mirror of https://github.com/rwxrob/dot
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
246 B
Plaintext
14 lines
246 B
Plaintext
1 year ago
|
#!/bin/sh
|
||
|
|
||
|
if [ -z "$(which k9s)" ]; then
|
||
|
echo "Warning, doesn't look like you have k9s installed."
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
if [ -d ~/.config/k9s ]; then
|
||
|
mv ~/.config/k9s "$HOME/.config/k9s_$(date -u +%Y%m%d%H%M%S)"
|
||
|
fi
|
||
|
|
||
|
ln -sf "$PWD" "$HOME/.config/k9s"
|
||
|
|