Skip to content

Commit

Permalink
take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
gWOLF3 committed Sep 17, 2020
1 parent 73e8034 commit e0bd21a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions vissh_snap
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
echo "$(env)"

USER_HOME=/home/${SUDO_USER}
REALHOME=$(getent passwd $(id -u) | cut -d ':' -f 6);
echo "home is $REALHOME"

if [ ! -f $USER_HOME/.vimrc ]; then touch $USER_HOME/.vimrc; fi;
echo "$USER_HOME/.vimrc";
cat $USER_HOME/.vimrc;
inotifywait -e modify $USER_HOME/.vimrc;

if ([ -f $USER_HOME/.bashrc ] && ( ! grep -qR 'alias ssh="ssh -F $USER_HOME/.ssh/viSSHous"' $USER_HOME/.bashrc ));
Expand Down

0 comments on commit e0bd21a

Please sign in to comment.