diff options
-rw-r--r-- | dotfiles/ssh+config | 9 | ||||
-rwxr-xr-x | link.sh | 6 |
2 files changed, 13 insertions, 2 deletions
diff --git a/dotfiles/ssh+config b/dotfiles/ssh+config new file mode 100644 index 0000000..bc59297 --- /dev/null +++ b/dotfiles/ssh+config @@ -0,0 +1,9 @@ +host wright_fs + User John + HostName 128.104.68.238 + Port 22 + +host wright_ps + User John + HostName 128.104.69.51 + Port 22 @@ -10,7 +10,9 @@ cd $dir # move current files and link contained files files=$(ls $dir) -for name in $files; do +for f in $files; do + name=${f//+//} + echo $name mv ~/.$name ~/dotfiles_old/ - ln -s $dir/$name ~/.$name + ln -s $dir/$f ~/.$name done |