mirror of
https://github.com/rwxrob/dot
synced 2024-11-18 15:25:52 +00:00
14 lines
246 B
Bash
Executable File
14 lines
246 B
Bash
Executable File
#!/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"
|
|
|