summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-09-02 21:05:26 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-09-02 21:05:26 +0100
commit9807497a29faeac1e478275db28768b206eaf3a1 (patch)
tree67682b1349951d88a0cc81f9a24f665d20e2652c /install.sh
parent67e13960594f3e8537db546ff901cf98cfc810d5 (diff)
parent20d195dd54d6cc660be75e6c7a6f445977661671 (diff)
Merge branch 'master' of http://github.com/uvaes/dotfiles
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 1c358e5..d165f5a 100755
--- a/install.sh
+++ b/install.sh
@@ -38,6 +38,12 @@ install_zsh() {
ln -s $dotdir/.zsh .zsh
}
+install_uzbl() {
+ ln -s $dotdir/.uzbl uzbl
+ cd $HOME/.local/share/uzbl
+ ln -s $dotdir/.uzbl/bookmarks bookmarks
+}
+
uninstall_offlineimap() {
rm -f .offlineimaprc
rm -f .offlineimap.py
@@ -51,6 +57,11 @@ uninstall_zsh() {
rm -rf .zsh .zshrc
}
+uninstall_uzbl() {
+ rm -rf uzbl
+ rm -f $HOME/.local/share/uzbl/bookmarks
+}
+
dotdirs[.uzbl]="$HOME/.config/uzbl"
dotdirs[.zathurarc]="$HOME/.config/zathura/zathurarc"
@@ -58,10 +69,12 @@ install[.offlineimap]='install_offlineimap'
install[.vim]='install_vim'
install[.mutt]='install_mutt'
install[.zsh]='install_zsh'
+install[.uzbl]='install_uzbl'
uninstall[.offlineimap]='uninstall_offlineimap'
uninstall[.vim]='uninstall_vim'
uninstall[.zsh]='uninstall_zsh'
+uninstall[.uzbl]='uninstall_uzbl'
clean_dotfiles() {
for file in ${(@k)dotdirs}; do