Browse code

Add dotfiles

Robert Cranston authored on 13/02/2022 02:08:04
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,9 @@
1
+__prompt_pwd()
2
+{
3
+  if [ "$PWD" = "$HOME" ]
4
+  then
5
+    printf "$1" '~'
6
+  else
7
+    printf "$1" "${PWD##?*/}"
8
+  fi
9
+}