Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

detect whether /etc/bash_completion exists or not.

  • Loading branch information...
commit 5f0890ed9b43cf9096c7802ff32a93b8d552704b 1 parent f185c83
@pismute authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 custom/profile.bash
5 custom/profile.bash
@@ -3,4 +3,7 @@
# This is an example file. Don't use this for your custom scripts. Instead, create another file within the
# custom directory.
-. /etc/bash_completion
+if [ -f /etc/bash_completion ]; then
+ . /etc/bash_completion
Please sign in to comment.
Something went wrong with that request. Please try again.