-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See #1.
- Loading branch information
Showing
2 changed files
with
122 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Path to your oh-my-zsh configuration. | ||
ZSH=$HOME/.oh-my-zsh | ||
|
||
ZSH_THEME="gruvbox" | ||
SOLARIZED_THEME="dark" | ||
|
||
# Set to this to use case-sensitive completion | ||
CASE_SENSITIVE="false" | ||
|
||
# Comment this out to disable weekly auto-update checks | ||
# DISABLE_AUTO_UPDATE="true" | ||
|
||
# aliases | ||
alias 'ls'='exa -l --icons' | ||
alias 'cd..'='cd ..' | ||
alias 'dir'='exa -l --icons' | ||
alias 'tree'="find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'" | ||
alias '..'='cd ..' | ||
|
||
ROBBY_DIR=${HOME}/Sync/code/robby | ||
|
||
alias notes=${ROBBY_DIR}/robby/xontrib/notes.xsh | ||
alias humble=${ROBBY_DIR}/robby/xontrib/humble.xsh | ||
|
||
plugins=(emoji git macos mvn rust zsh-autosuggestions history-substring-search zsh-syntax-highlighting zsh-z) | ||
|
||
source $ZSH/oh-my-zsh.sh | ||
|
||
# aliases | ||
if [ -f $HOME/.aliasrc ]; then | ||
source $HOME/.aliasrc | ||
fi | ||
|
||
# function | ||
if [ -f $HOME/.functions.zsh ]; then | ||
source $HOME/.functions.zsh | ||
fi | ||
|
||
###-tns-completion-start-### | ||
if [ -f $HOME/.tnsrc ]; then | ||
source $HOME/.tnsrc | ||
fi | ||
###-tns-completion-end-### | ||
|
||
# set a more comprehensive format for `time` | ||
TIMEFMT='%J %U user %S system %P cpu %*E total'$'\n'\ | ||
'avg shared (code): %X KB'$'\n'\ | ||
'avg unshared (data/stack): %D KB'$'\n'\ | ||
'total (sum): %K KB'$'\n'\ | ||
'max memory: %M MB'$'\n'\ | ||
'page faults from disk: %F'$'\n'\ | ||
'other page faults: %R' | ||
|
||
PROMPT='$(random_emoji animals)':$PROMPT | ||
|
||
ZSH_THEME_GIT_PROMPT_PREFIX="(" | ||
ZSH_THEME_GIT_PROMPT_SUFFIX=")" | ||
ZSH_THEME_GIT_PROMPT_DIRTY=" ✗" | ||
ZSH_THEME_GIT_PROMPT_CLEAN=" ✔" | ||
|
||
# git editor | ||
EDITOR=/usr/local/bin/code | ||
|
||
# Deno variables | ||
export DENO_INSTALL=$HOME/.deno | ||
export PATH="$DENO_INSTALL/bin:$PATH" | ||
|
||
# eval "$(starship init zsh)" | ||
# eval "$(navi widget zsh)" |