1
1
Fork 0
mirror of https://github.com/tonydamage/nux-env.git synced 2025-12-11 13:24:28 +01:00

Added support for ./local/bin folder. Added prototype of java aliases

This commit is contained in:
Tony Tkáčik 2014-11-28 16:36:44 +01:00
parent 90df950cbd
commit 8bfdb1fb9e
3 changed files with 9 additions and 6 deletions

6
bash_aliases Normal file → Executable file
View file

@ -1,2 +1,8 @@
# Maven Aliases
alias mci="mvn clean install"
# GIT and GITK Aliases
alias gitk-all="(git branch -l) | sed "s/^*//" | xargs gitk"
# alias analyse-java-name-conflict="find -iname *.java | grep -v package-info.java | grep -v yang-gen | grep -v target | sed "s/[\\.a-z0-9\\/\\-]*\\/\([\\\$a-zA-Z0-9]*\)\.java/\1/g" | sort | uniq -c | grep -v " 1 ""
# alias analyse-java-annotation=find -iname "*.java" | xargs grep "@$1" | sed "s/@$1\\(.*\\)/\\1/g"

0
bash_variables Normal file → Executable file
View file

9
bashrc
View file

@ -114,6 +114,9 @@ fi
if [ -d ~/bin ]; then
PATH="$PATH:~/bin"
fi
if [ -d ~/.local/bin ]; then
PATH="$PATH:~/.local/bin"
fi
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
@ -129,12 +132,6 @@ parse_git_branch() {
PS1="$PS1\$(parse_git_branch)"
## Finalizing section
PS1="$PS1\$ ";