aboutsummaryrefslogtreecommitdiffstats
path: root/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to '.bash_profile')
-rwxr-xr-x.bash_profile5
1 files changed, 4 insertions, 1 deletions
diff --git a/.bash_profile b/.bash_profile
index 22b21ae..06ab619 100755
--- a/.bash_profile
+++ b/.bash_profile
@@ -9,4 +9,7 @@ done
shopt -s nocaseglob
# Add tab completion for SSH hostnames based on ~/.ssh/config, ignoring wildcards
-complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config | grep -v "[?*]" | cut -d " " -f2)" scp sftp ssh \ No newline at end of file
+complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config | grep -v "[?*]" | cut -d " " -f2)" scp sftp ssh
+
+# Add tab completion for `defaults read|write NSGlobalDomain`
+complete -W "NSGlobalDomain" defaults \ No newline at end of file