graysky2 / profile-sync-daemon

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.
https://wiki.archlinux.org/index.php/Profile-sync-daemon
Other
910 stars 88 forks source link

add zsh completion #106

Closed thiagowfx closed 9 years ago

thiagowfx commented 9 years ago

Hi,

Not sure if you'd be interested in this PR, but here it is anyway.

Also, a patch for the PKGBUILD (not complete, as you'll have to update the checksums):

--- PKGBUILD.orig   2015-01-28 03:45:14.149489128 -0200
+++ PKGBUILD    2015-01-28 03:45:48.199429863 -0200
@@ -1,7 +1,7 @@
 # Maintainer: graysky <graysky AT archlinux DOT us>

 pkgname='profile-sync-daemon'
-pkgver=5.66
+pkgver=5.67
 pkgrel=1
 pkgdesc='Syncs browser profiles to tmpfs reducing SSD/HDD calls and speeding-up browsers.'
 arch=('any')
@@ -28,4 +28,5 @@
    # the INSTALL document provided in the source tarball!
   make DESTDIR="$pkgdir" install-systemd-all
   install -Dm644 MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 common/zsh-completion "$pkgdir/usr/share/zsh/site-functions/_psd"
 }

The effect (as you would expect) is like this (PS. forget the extra space in the fourth line, I fixed it).