diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..a693ad2 --- /dev/null +++ b/.bashrc @@ -0,0 +1,15 @@ +[[ -f "$HOMEBREW_PREFIX/etc/bash_completion" ]] && . "$HOMEBREW_PREFIX/etc/bash_completion" +[[ -f /usr/share/bash-completion/bash_completion ]] && . /usr/share/bash-completion/bash_completion +[[ "$TERM" == xterm-256color ]] && PS1='\[\e]0;\u@\h: \w\a\]' +HISTCONTROL=ignoreboth:erasedups +HISTFILESIZE=2000000 +HISTSIZE=2000000 +PROMPT_COMMAND='[[ $_PWD == $PWD ]] || { _PWD=$PWD; ls; }' +PS1=$PS1'\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' +PS1=${PS1%'\$ '}'$(__git_ps1 " \[\033[32m\](%s)\[\033[00m\]")\n\$ ' +alias ..='cd ..' +alias diff='diff --color=auto' +alias grep='grep --color=auto' +alias ll='ls -alF' +alias ls='ls --color=auto' +set +o histexpand diff --git a/.profile b/.profile new file mode 100644 index 0000000..c17c543 --- /dev/null +++ b/.profile @@ -0,0 +1,8 @@ +export PATH="$HOME/.local/bin:$PATH" +export HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew"; +export HOMEBREW_CELLAR="/home/linuxbrew/.linuxbrew/Cellar"; +export HOMEBREW_REPOSITORY="/home/linuxbrew/.linuxbrew/Homebrew"; +export PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin${PATH+:$PATH}"; +export MANPATH="/home/linuxbrew/.linuxbrew/share/man${MANPATH+:$MANPATH}:"; +export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:${INFOPATH:-}"; +[ -n "$BASH_VERSION" ] && . "$HOME/.bashrc"