]> git.wh0rd.org Git - home.git/commitdiff
dont error out if PS1 customize isnt found
authorMike Frysinger <vapier@gentoo.org>
Mon, 3 Nov 2008 18:41:24 +0000 (13:41 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Apr 2012 19:36:05 +0000 (15:36 -0400)
.gitignore
.profile.d/PS1.sh

index e8c0ad6d8028bb8b4281f72b16f7042c99ed419f..2782500ee0b95a7f0b35a8f2d84ccb0cf1b24ec5 100644 (file)
@@ -95,6 +95,7 @@ a.out
 /.gnupg/.#lk*
 /.gnupg/*.gpg
 /.gnupg/*.kbx
+/.gnupg/random_seed
 
 /.ncftp/firewall
 /.ncftp/history
index 943263541cf7a60f24fefe3e6c6d48cbed7adbb5..731133db9f18fbdaeacd88e7c230f29e13797903 100644 (file)
@@ -1 +1 @@
-PS1='\[\e[0;33m\]\u\[\e[30;1m\]@\[\e[31;1m\]\h'`cat /etc/ps1_append`'\[\e[30;1m\] \j:$? \[\e[34;1m\]\W \$\[\e[0m\] '
+PS1='\[\e[0;33m\]\u\[\e[30;1m\]@\[\e[31;1m\]\h'$([ -e /etc/ps1_append ] && cat /etc/ps1_append)'\[\e[30;1m\] \j:$? \[\e[34;1m\]\W \$\[\e[0m\] '