aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.bashrc
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-06-04 23:10:09 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-06-04 23:10:09 +0300
commit6eb00d65d5732bbb025d573422adab5e3ca74dcc (patch)
treed118dbe74fa749a9293636098f89093449563871 /%HOME%/.bashrc
parentremove .profile (diff)
downloadlinux-home-6eb00d65d5732bbb025d573422adab5e3ca74dcc.tar.gz
linux-home-6eb00d65d5732bbb025d573422adab5e3ca74dcc.zip
attempt to organize stuff properly
bash-independent stuff should go to .profile, which is what I'm trying to do. I'm not sure about how correct all of this is, a few bashisms were ought to creep in.
Diffstat (limited to '%HOME%/.bashrc')
-rw-r--r--%HOME%/.bashrc9
1 files changed, 0 insertions, 9 deletions
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc
index b23fc09..3ba8086 100644
--- a/%HOME%/.bashrc
+++ b/%HOME%/.bashrc
@@ -78,17 +78,8 @@ if os_is_cygwin; then
alias ming++='x86_64-w64-mingw32-g++'
fi
-if command -v vim > /dev/null 2>&1; then
- export EDITOR=vim
-elif command -v nano > /dev/null 2>&1; then
- export EDITOR=nano
-fi
-
# I've bumped into this on Linux Mint: Ctrl+S causes my terminal to freeze
# completely (Ctrl+Q is a temporary escape, stty is the cure).
os_is_cygwin \
|| command -v stty > /dev/null 2>&1 \
&& stty -ixon
-
-command -v path_export > /dev/null 2>&1 \
- && path_export "$HOME/.local/bin"