diff --git a/programs/bash.nix b/programs/bash.nix index 0bc0e07..b4ca647 100644 --- a/programs/bash.nix +++ b/programs/bash.nix @@ -138,6 +138,7 @@ # a little programm, that changes the ssh config to always be able to acces rpi function rpi(){ ssh_dir=~/.ssh + rm -f $ssh_dir/current_rpi_config if [ "$1" == "l" ] then cp $ssh_dir/rpi/local $ssh_dir/current_rpi_config