mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-21 22:33:42 +01:00
added nvm + azure completion
This commit is contained in:
parent
ee6d640ad2
commit
215059cce6
@ -27,6 +27,7 @@ alias dotnetnew="dotnet new webapi -o "
|
||||
# git
|
||||
alias gitremovelocalbranches='git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d'
|
||||
alias untangle-line-endings='find ./ -type f -exec dos2unix {} \;'
|
||||
alias undo-commit='git reset --soft HEAD^'
|
||||
|
||||
## pacman and trizen
|
||||
alias aur='trizen --noconfirm'
|
||||
|
12
bash/.bashrc
12
bash/.bashrc
@ -1,7 +1,7 @@
|
||||
# if powerline-shell is available use it.
|
||||
function _update_ps1() {
|
||||
if hash powerline-shell 2>/dev/null; then
|
||||
PS1=$(powerline-shell $?)
|
||||
PS1=$(powerline-rs --shell bash $?)
|
||||
fi
|
||||
}
|
||||
|
||||
@ -11,6 +11,14 @@ function _update_ps1() {
|
||||
source ~/.alias
|
||||
source ~/.custom
|
||||
source ~/.variables
|
||||
source ~/lib/azure-cli/az.completion
|
||||
|
||||
# evals
|
||||
eval "$(pyenv init -)"
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
#... :P fancy stuffs
|
||||
#screenfetch -t -A "UBUNTU"
|
||||
@ -20,3 +28,5 @@ PS1='[\u@\h \W]\$ '
|
||||
if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
|
||||
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
|
||||
fi
|
||||
|
||||
export PATH=$PATH:/home/mastermindzh/bin
|
||||
|
1
dependencies/aur.txt
vendored
1
dependencies/aur.txt
vendored
@ -12,3 +12,4 @@ xorg-xev
|
||||
networkmanager-l2tp
|
||||
snapd
|
||||
i3blocks-contrib
|
||||
azure-cli
|
||||
|
3
dependencies/pip.txt
vendored
3
dependencies/pip.txt
vendored
@ -1 +1,4 @@
|
||||
powerline-shell
|
||||
msrestazure
|
||||
azure.common
|
||||
azure.mgmt
|
||||
|
Loading…
Reference in New Issue
Block a user