diff options
Diffstat (limited to 'drush-git.install')
-rw-r--r-- | drush-git.install | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drush-git.install b/drush-git.install new file mode 100644 index 000000000000..798a7a61f064 --- /dev/null +++ b/drush-git.install @@ -0,0 +1,7 @@ +post_install() { + echo '>>> Setting up shared system-wide drush configuration' + echo ' by symlinking ~/.drush to /etc/drush for all users.' + for user_dir in $(cut --fields=6 --delimiter=: /etc/passwd | grep ^/home); do + ln --force --symbolic /etc/drush "$user_dir" + done +} |