Skip to content

Commit

Permalink
Tue Jul 23 10:50:09 AM WIB 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
nsetyo committed Jul 23, 2024
1 parent c33007f commit e553c1f
Showing 1 changed file with 13 additions and 35 deletions.
48 changes: 13 additions & 35 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -60,47 +60,25 @@ COMPLETION_WAITING_DOTS="true"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git docker docker-compose sudo rust)

source $ZSH/oh-my-zsh.sh

# User configuration
export BUN_INSTALL="$HOME/.local/bun"

# export MANPATH="/usr/local/man:$MANPATH"
export PATH="$BUN_INSTALL/bin:$PATH"

# You may need to manually set your language environment
# export LANG=en_US.UTF-8
[ -s "${BUN_INSTALL}/_bun" ] && source "${BUN_INSTALL}/_bun"

if [ -f ~/.aliases ]; then source ~/.aliases; fi
[ -f ~/.aliases ] && source ~/.aliases

if [ -f ~/.env ]; then source ~/.env; fi
[ -f ~/.env ] && source ~/.env

if [ -f $CARGO_HOME/env ]; then source $CARGO_HOME/env; fi
[ -f $CARGO_HOME/env ] && source $CARGO_HOME/env

# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(asdf git docker docker-compose sudo rust)

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
source $ZSH/oh-my-zsh.sh

if command -v starship &> /dev/null; then eval "$(starship init zsh)"; fi



# bun completions
[ -s "/home/nsetyo/.local/bun/_bun" ] && source "/home/nsetyo/.local/bun/_bun"

# bun
export BUN_INSTALL="$HOME/.local/bun"
export PATH="$BUN_INSTALL/bin:$PATH"

0 comments on commit e553c1f

Please sign in to comment.