aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-14 06:00:13 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-14 06:00:13 +0300
commit962373c10c3ccc550da8040238a8241ea3c9b7a1 (patch)
tree6088d67ddba4f3727d73a3b650961c8966242281
parentadd doslint_repo, lint_repo (diff)
downloadlinux-home-962373c10c3ccc550da8040238a8241ea3c9b7a1.tar.gz
linux-home-962373c10c3ccc550da8040238a8241ea3c9b7a1.zip
.bashrc: code style
Diffstat (limited to '')
-rw-r--r--%HOME%/.bashrc12
1 files changed, 6 insertions, 6 deletions
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc
index f92324a..e75ce20 100644
--- a/%HOME%/.bashrc
+++ b/%HOME%/.bashrc
@@ -217,10 +217,10 @@ alias less='less --RAW-CONTROL-CHARS'
alias ls='ls --almost-all -l --human-readable --color=auto'
alias tree='tree -a'
-alias cygwin_packages='cygcheck -cd'
+[ "$( uname -o )" == 'Cygwin' ] && alias list_packages='cygcheck -cd'
-[ -f '.bash_utils/cxx.sh' ] && source .bash_utils/cxx.sh
-[ -f '.bash_utils/distr.sh' ] && source .bash_utils/distr.sh
-[ -f '.bash_utils/file.sh' ] && source .bash_utils/file.sh
-[ -f '.bash_utils/git.sh' ] && source .bash_utils/git.sh
-[ -f '.bash_utils/text.sh' ] && source .bash_utils/text.sh
+[ -f '.bash_utils/cxx.sh' ] && source .bash_utils/cxx.sh
+[ -f '.bash_utils/distr.sh' ] && source .bash_utils/distr.sh
+[ -f '.bash_utils/file.sh' ] && source .bash_utils/file.sh
+[ -f '.bash_utils/git.sh' ] && source .bash_utils/git.sh
+[ -f '.bash_utils/text.sh' ] && source .bash_utils/text.sh