From 95a59f37f7e67417d6759fcb47d45fe39bb9f5aa Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Mon, 5 Sep 2016 17:44:43 +0200 Subject: [PATCH 1/4] Exports --- zsh/exports.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/exports.zsh b/zsh/exports.zsh index 5dde1b0..f290d1f 100644 --- a/zsh/exports.zsh +++ b/zsh/exports.zsh @@ -1,5 +1,5 @@ # The path -export PATH=$PATH/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl:/opt/android-ndk:/usr/lib/emscripten:/home/thomas/.script/check:/home/thomas/.gem/ruby/2.3.0/bin:/home/thomas/.scripts:/home/thomas/.more-scripts/stop/ +export PATH=$PATH/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl:/opt/android-ndk:/opt/android-sdk/tools/:/opt/android-sdk/build-tools/24.0.0/:/usr/lib/emscripten:/home/thomas/.script/check:/home/thomas/.gem/ruby/2.3.0/bin:/home/thomas/.scripts:/home/thomas/.more-scripts/stop/ # My editor export EDITOR="nvim" From 405dc0ee54a69c099861107eb47e2f6a9aa4cf92 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Wed, 7 Sep 2016 19:50:33 +0200 Subject: [PATCH 2/4] Added jump module --- zsh/config.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/config.zsh b/zsh/config.zsh index b703731..45dbc3e 100644 --- a/zsh/config.zsh +++ b/zsh/config.zsh @@ -16,7 +16,7 @@ DISABLE_AUTO_TITLE="true" # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/me # Example format: plugins=(rails git textmate ruby lighthouse) -plugins=(git zsh-syntax-highlighting) +plugins=(git zsh-syntax-highlighting jump) source $ZSH/oh-my-zsh.sh From 400d1b8eab0f458cf97ca6eea3af991b3f47fcb9 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Wed, 7 Sep 2016 19:51:39 +0200 Subject: [PATCH 3/4] Check if motorcycle exists before doing it --- zshrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 5aaeb07..d3b5ee5 100644 --- a/zshrc +++ b/zshrc @@ -15,4 +15,7 @@ source $DOTFILES/zsh/aliases.zsh source $DOTFILES/zsh/functions.zsh clear && screenfetch -echo -ne "\033[F\033[F\033[F\033[F\033[F\t\t\t\t\t\b\033[1;36mA:\033[0m `/home/thomas/.more-scripts/motorcyle.py`\n\n\n\n\n" + +if [ -e "/home/thomas/.more-scripts/motorcyle.py" ]; then + echo -ne "\033[F\033[F\033[F\033[F\033[F\t\t\t\t\t\b\033[1;36mA:\033[0m `/home/thomas/.more-scripts/motorcyle.py`\n\n\n\n\n" +fi From 9526e982dba5d45139e10beabed78f8a90b578f5 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Wed, 7 Sep 2016 19:55:48 +0200 Subject: [PATCH 4/4] Removed useless wd alias --- zsh/aliases.zsh | 3 --- 1 file changed, 3 deletions(-) diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index 5db458c..b3a63d7 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -37,6 +37,3 @@ alias cd....="cd ../../.." alias ls="ls -h --color --group-directories-first" alias sl="ls" alias lsd="ls" - -# Make wd command work -alias wd=". wd"