diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2018-02-20 09:27:42 -0800 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2018-02-20 09:28:15 -0800 |
commit | 8b48968a1fded5f5070e5a8f62a25a2ead7a1b48 (patch) | |
tree | 2b06718fde08020a438b76a86f7a1891a0ea99e3 /bashrc | |
parent | [vim] Add again vim configuration. (diff) | |
download | emacs.d-8b48968a1fded5f5070e5a8f62a25a2ead7a1b48.tar.gz |
[bash] some cleanup
Diffstat (limited to 'bashrc')
-rwxr-xr-x | bashrc | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/bashrc b/bashrc index 85038ec..ee36ce2 100755 --- a/bashrc +++ b/bashrc @@ -1,4 +1,4 @@ -export EDITOR="emacsclient -a ''" +export EDITOR="vim" export HISTFILE= export LANG="en_US.UTF-8" export LC_ALL="$LANG" @@ -9,13 +9,8 @@ export GOPATH="${HOME}/gocode" [ -z "$PS1" ] && return -[ "${BASH_VERSINFO}" -gt 3 ] && shopt -s autocd - # prompts -export PS1="\W % " - -alias e="$EDITOR" -alias et="emacsclient -nw" +export PS1="\h:\w % " alias cp="cp -i" alias l="ls" @@ -54,6 +49,3 @@ __add_to_path_if_exists "${HOME}/src/source/dist" __add_to_path_if_exists "/opt/twitter/opt/go/libexec/bin" __add_to_path_if_exists "/opt/twitter/bin" __source_file_if_exists "/opt/twitter/rvm/scripts/rvm" - -DOTFILES_DIR=$(dirname $(realpath $BASH_SOURCE)) -__add_to_path_if_exists "${DOTFILES_DIR}/bin" |