FULL LUA! plus some bugfixes
This commit is contained in:
16
zsh/.zshrc
16
zsh/.zshrc
@@ -38,7 +38,6 @@ if [[ $(uname) == Linux ]]; then
|
||||
fi
|
||||
|
||||
alias cls='clear'
|
||||
export PATH="/opt/homebrew/opt/protobuf@3.6/bin:$PATH"
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
@@ -55,18 +54,3 @@ export STARSHIP_CONFIG=~/.config/zsh/starship.toml
|
||||
|
||||
eval "$(starship init zsh)"
|
||||
|
||||
# >>> conda initialize >>>
|
||||
# !! Contents within this block are managed by 'conda init' !!
|
||||
# __conda_setup="$('/usr/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||
# if [ $? -eq 0 ]; then
|
||||
# eval "$__conda_setup"
|
||||
# else
|
||||
# if [ -f "/usr/etc/profile.d/conda.sh" ]; then
|
||||
# . "/usr/etc/profile.d/conda.sh"
|
||||
# else
|
||||
# export PATH="/usr/bin:$PATH"
|
||||
# fi
|
||||
# fi
|
||||
# unset __conda_setup
|
||||
# <<< conda initialize <<<
|
||||
|
||||
|
||||
4
zsh/config.d/90-envoy.zsh
Normal file
4
zsh/config.d/90-envoy.zsh
Normal file
@@ -0,0 +1,4 @@
|
||||
[ "$(which clang-format)" != "" ] && export CLANG_FORMAT=/opt/llvm/bin/clang-format || echo "WARNING: clang-format not installed. Required to push to envoy repo"
|
||||
[ "$(which buildozer)" != "" ] && export BUILDOZER_BIN=$HOME/.go/go/bin/buildozer || echo "WARNING: buildozer not installed. Required to push to envoy repo"
|
||||
([ "$(which buildifier)" != "" ] && export BUILDIFIER_BIN=$HOME/.go/go/bin/buildifier) || echo "WARNING: buildifier not installed. Required to push to envoy repo"
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
# Requires https://github.com/caarlos0/timer
|
||||
# Requires spd-say
|
||||
|
||||
declare -A pomo_options
|
||||
pomo_options["work"]="45"
|
||||
pomo_options["break"]="10"
|
||||
|
||||
pomodoro () {
|
||||
if [ -n "$1" -a -n "${pomo_options["$1"]}" ]; then
|
||||
val=$1
|
||||
echo $val
|
||||
timer ${pomo_options["$val"]}m
|
||||
spd-say "'$val' session done"
|
||||
fi
|
||||
}
|
||||
|
||||
alias wo="pomodoro 'work'"
|
||||
alias br="pomodoro 'break'"
|
||||
Reference in New Issue
Block a user