Created
June 24, 2018 23:43
-
-
Save ggsalas/b04242c26865cba40bc00f5e8f971853 to your computer and use it in GitHub Desktop.
All my config on .bashrc and a symbolic link to .bash_profile to get work on Neovim-terminal
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
# GIT autocompleted | |
# Download from: https://gist.github.com/carlosvillu/e4ada4f991d495d07604 | |
# then do: $ source ~/.bash_profile | |
source ~/.git-completion.sh | |
# prompt | |
# https://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/ | |
# 38: front color, 48: background color | |
light="\[\033[38;5;8m\]" | |
normal="\[\033[38;5;7m\]" | |
export PS1="$light\n\$(__git_ps1 '%s • ')\w\[$(tput sgr0)\] $normal\n " | |
## ALIAS ## | |
# Neovim | |
alias vi="nvim" | |
alias vip="nvim -c 'term' -c 'file Console' -c 'term' -c 'file Server'" | |
# file snd folders | |
alias ll="ls -ogpAhG" | |
alias .='clear' | |
alias ..='cd ..' | |
# Others | |
alias reload='source ~/.bashrc' | |
alias untar='tar -xvf' | |
# Iterm | |
test -e "${HOME}/.iterm2_shell_integration.bash" && source "${HOME}/.iterm2_shell_integration.bash" | |
[ -f ~/.fzf.bash ] && source ~/.fzf.bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment