KDE & Emacs
This commit is contained in:
1 parent
edcf5dd381
commit
8d688d1107
50 files changed
+2122
-1267
No files matched your search
@@ -79,33 +79,25 @@ autoload -Uz add-zsh-hook
|
||||
add-zsh-hook precmd set_prompt
|
||||
|
||||
# plugins
|
||||
|
||||
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
|
||||
# GHCUP for Haskell
|
||||
[ -f "/home/venomade/.ghcup/env" ] && . "/home/venomade/.ghcup/env" # ghcup-env
|
||||
# [ -f "/home/venomade/.ghcup/env" ] && . "/home/venomade/.ghcup/env" # ghcup-env
|
||||
|
||||
# OPAM for OCaml
|
||||
[[ ! -r '/home/venomade/.opam/opam-init/init.zsh' ]] || source '/home/venomade/.opam/opam-init/init.zsh' > /dev/null 2> /dev/null
|
||||
# [[ ! -r '/home/venomade/.opam/opam-init/init.zsh' ]] || source '/home/venomade/.opam/opam-init/init.zsh' > /dev/null 2> /dev/null
|
||||
# bun completions
|
||||
[ -s "/home/venomade/.bun/_bun" ] && source "/home/venomade/.bun/_bun"
|
||||
# [ -s "/home/venomade/.bun/_bun" ] && source "/home/venomade/.bun/_bun"
|
||||
|
||||
# bun
|
||||
# export BUN_INSTALL="$HOME/.bun"
|
||||
# export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
|
||||
# Devbox
|
||||
eval "$(devbox global shellenv)"
|
||||
# eval "$(devbox global shellenv)"
|
||||
|
||||
# Function to run emacs based on the presence of devbox.json
|
||||
run_emacs() {
|
||||
if [[ $# -eq 0 ]]; then
|
||||
if [[ -f "devbox.json" ]]; then
|
||||
devbox run emacs &>/dev/null &
|
||||
else
|
||||
emacs
|
||||
fi
|
||||
else
|
||||
command emacs "$@"
|
||||
fi
|
||||
}
|
||||
alias emacs='run_emacs'
|
||||
# Homebrew
|
||||
# eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
|
||||
# export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
|
||||
Reference in new issue
Block a user