Add custom folder

This commit is contained in:
psox 2017-12-13 17:59:10 +00:00
parent 5327fd15e5
commit c862f5a666
10 changed files with 1813 additions and 1 deletions

12
.gitmodules vendored
View File

@ -1,3 +1,15 @@
[submodule "oh-my-zsh"]
path = oh-my-zsh
url = https://github.com/robbyrussell/oh-my-zsh.git
[submodule "zsh-custom/plugins/zsh-autosuggestions"]
path = zsh-custom/plugins/zsh-autosuggestions
url = https://github.com/zsh-users/zsh-autosuggestions
[submodule "zsh-custom/plugins/zsh-completions"]
path = zsh-custom/plugins/zsh-completions
url = https://github.com/zsh-users/zsh-completions
[submodule "zsh-custom/plugins/zsh-history-substring-search"]
path = zsh-custom/plugins/zsh-history-substring-search
url = https://github.com/zsh-users/zsh-history-substring-search
[submodule "zsh-custom/plugins/zsh-syntax-highlighting"]
path = zsh-custom/plugins/zsh-syntax-highlighting
url = https://github.com/zsh-users/zsh-syntax-highlighting.git

10
zsh-custom/example.zsh Normal file
View File

@ -0,0 +1,10 @@
# You can put files here to add functionality separated per file, which
# will be ignored by git.
# Files on the custom/ directory will be automatically loaded by the init
# script, in alphabetical order.
# For example: add yourself some shortcuts to projects you often work on.
#
# brainstormr=~/Projects/development/planetargon/brainstormr
# cd $brainstormr
#

View File

@ -0,0 +1,2 @@
# Add your own custom plugins in the custom/plugins directory. Plugins placed
# here will override ones with the same name in the main plugins directory.

File diff suppressed because it is too large Load Diff

@ -0,0 +1 @@
Subproject commit c7d4a85031c101ef9bce0018096622087894dd09

@ -0,0 +1 @@
Subproject commit 97ae4a914ecbb63aa09c6a90688b2bee5e5f7e6d

@ -0,0 +1 @@
Subproject commit d44159b5e87cbdc8fdaa448f09523e12193d7d6d

@ -0,0 +1 @@
Subproject commit 6f149dfc5eab32bfb0cc1163b4ae5e001e48f9a1

View File

@ -0,0 +1,9 @@
# user, host, full path, and time/date
# on two lines for easier vgrepping
# entry in a nice long thread on the Arch Linux forums: http://bbs.archlinux.org/viewtopic.php?pid=521888#p521888
function retcode() {}
PROMPT=$'%# %{\e[0;34m%}%B[%b%{\e[0m%}%{\e[1;32m%}%n%{\e[1;30m%}@%{\e[0m%}%{\e[0;36m%}%m%{\e[0;34m%}%B]%b%{\e[0m%} - %b%{\e[0;34m%}%B[%b%{\e[1;37m%}%~%{\e[0;34m%}%B]%b%{\e[0m%} - %{\e[0;34m%}%B[%b%{\e[0;33m%}'%D{"%Y-%m-%d %I:%M:%S"}%b$'%{\e[0;34m%}%B]%b%{\e[0m%} %{\e[0;34m%}%B%B[%{\e[1;35m%}%?$(retcode)%{\e[0;34m%}%B]%{\e[0m%}%b
'

2
zshrc
View File

@ -61,7 +61,7 @@ DISABLE_UNTRACKED_FILES_DIRTY="true"
HIST_STAMPS="yyyy-mm-dd"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
ZSH_CUSTOM=$(dirname $ZSH)/zsh-custom
# 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/