-
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.
- Loading branch information
Showing
1 changed file
with
26 additions
and
90 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,104 +1,40 @@ | ||
case $- in | ||
*i*) ;; | ||
*) return;; | ||
*i*) ;; | ||
*) return;; | ||
esac | ||
|
||
export OSH='/home/brunociccarino/.oh-my-bash' | ||
|
||
HISTCONTROL=ignoreboth | ||
OSH_THEME="nekonight" | ||
DISABLE_AUTO_UPDATE="true" | ||
COMPLETION_WAITING_DOTS="true" | ||
|
||
shopt -s histappend | ||
export PATH=$HOME/.npm-global/bin:$PATH | ||
completions=( | ||
git | ||
composer | ||
ssh | ||
) | ||
|
||
export PATH=/home/brunociccarino/.nimble/bin:$PATH | ||
export PATH="/home/brunociccarino/melt:$PATH" | ||
export PATH="/home/brunociccarino/min/bin:$PATH" | ||
export PATH="$PATH:/mnt/c/Users/Usuario/AppData/Local/Programs/Microsoft VS Code/bin" | ||
export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH" | ||
aliases=( | ||
general | ||
) | ||
|
||
export NVM_DIR="$HOME/.nvm" | ||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" | ||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" | ||
plugins=( | ||
git | ||
bashmarks | ||
) | ||
|
||
HISTSIZE=1000 | ||
HISTFILESIZE=2000 | ||
source "$OSH"/oh-my-bash.sh | ||
|
||
shopt -s checkwinsize | ||
|
||
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then | ||
debian_chroot=$(cat /etc/debian_chroot) | ||
fi | ||
export LANG=en_US.UTF-8 | ||
|
||
case "$TERM" in | ||
xterm-color|*-256color) color_prompt=yes;; | ||
esac | ||
|
||
|
||
if [ -n "$force_color_prompt" ]; then | ||
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then | ||
color_prompt=yes | ||
else | ||
color_prompt= | ||
fi | ||
fi | ||
|
||
if [ "$color_prompt" = yes ]; then | ||
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' | ||
if [[ -n $SSH_CONNECTION ]]; then | ||
export EDITOR='vim' | ||
else | ||
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' | ||
fi | ||
unset color_prompt force_color_prompt | ||
|
||
case "$TERM" in | ||
xterm*|rxvt*) | ||
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" | ||
;; | ||
*) | ||
;; | ||
esac | ||
|
||
if [ -x /usr/bin/dircolors ]; then | ||
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" | ||
alias ls='ls --color=auto' | ||
fi | ||
|
||
if [ -f ~/.bash_aliases ]; then | ||
. ~/.bash_aliases | ||
fi | ||
if ! shopt -oq posix; then | ||
if [ -f /usr/share/bash-completion/bash_completion ]; then | ||
. /usr/share/bash-completion/bash_completion | ||
elif [ -f /etc/bash_completion ]; then | ||
. /etc/bash_completion | ||
fi | ||
fi | ||
eval "$(/bin/brew shellenv)" | ||
eval "$(/bin/brew shellenv)" | ||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | ||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | ||
export EDITOR='mvim' | ||
fi | ||
|
||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | ||
|
||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | ||
|
||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | ||
|
||
export PATH=$PATH:/home/brunociccarino/.melt_packages | ||
|
||
export NVM_DIR="$HOME/.nvm" | ||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | ||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | ||
|
||
export PATH="$HOME/.local/share/pnpm/global/bin:$PATH" | ||
export PNPM_HOME="/home/brunociccarino/.local/share/pnpm" | ||
case ":$PATH:" in | ||
*":$PNPM_HOME:"*) ;; | ||
*) export PATH="$PNPM_HOME:$PATH" ;; | ||
esac | ||
|
||
# pnpm | ||
export PNPM_HOME="/home/brunociccarino/.local/share/pnpm" | ||
case ":$PATH:" in | ||
*":$PNPM_HOME:"*) ;; | ||
*) export PATH="$PNPM_HOME:$PATH" ;; | ||
esac | ||
# pnpm end | ||
alias bashconfig="mate ~/.bashrc" | ||
alias ohmybash="mate ~/.oh-my-bash" |