From cfa484b8cb589867656aa3ffb96a092c8213c5e7 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 14 Sep 2018 09:00:06 +0100 Subject: [PATCH] Fix shell syntax issues --- files/zshrc/applications.sh | 4 ---- files/zshrc/javascript.sh | 4 ---- tasks/shell.yml | 1 + 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/files/zshrc/applications.sh b/files/zshrc/applications.sh index af021c8..2f6b16d 100644 --- a/files/zshrc/applications.sh +++ b/files/zshrc/applications.sh @@ -59,7 +59,3 @@ alias yolo="yaourt -Syyau --noconfirm" alias sc="screenshot --to img" alias clip="xclip -selection clipboard" alias cl="climate" - -recreatedb() { - dropdb $1 && createdb $1 -} diff --git a/files/zshrc/javascript.sh b/files/zshrc/javascript.sh index bfc3691..2fc77d2 100644 --- a/files/zshrc/javascript.sh +++ b/files/zshrc/javascript.sh @@ -35,7 +35,3 @@ nr() { alias nrc="npm run coverage" alias nrm="npm run mocha" alias nvmu="nvm use" - -# React-native extras -alias rnl="adb logcat | grep ReactNative" -alias rn="react-native" diff --git a/tasks/shell.yml b/tasks/shell.yml index 26910c5..e0aaecc 100644 --- a/tasks/shell.yml +++ b/tasks/shell.yml @@ -3,6 +3,7 @@ dest: /home/jake/.zshrc mode: 0644 owner: jake + validate: "zsh -n %s" - copy: src: /usr/share/nvm/init-nvm.sh