Skip to content

Commit

Permalink
Show SSH user in green
Browse files Browse the repository at this point in the history
  • Loading branch information
UrsaDK committed Aug 28, 2023
1 parent 023937d commit 004b278
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apkovl/etc/skel/.ssh/rc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
PS1_GREEN_USERS="${USER}"

if type -P ssh-auth-sock > /dev/null; then
symlink="$(ssh-auth-sock | cut -d' ' -f1)"

Expand Down

0 comments on commit 004b278

Please sign in to comment.