summarylogtreecommitdiffstats
path: root/drush-git.install
blob: 798a7a61f0645257b1770fd0c651dc9f7101f9f6 (plain)
1
2
3
4
5
6
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
}