mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Fix pip alias
This commit is contained in:
parent
2d285a2d37
commit
e6d842db36
1 changed files with 2 additions and 3 deletions
5
.bashrc
5
.bashrc
|
|
@ -135,9 +135,8 @@ alias gitver='echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)'
|
|||
# Print SRCINFO in AUR packages
|
||||
alias srcinfo='makepkg --printsrcinfo > .SRCINFO'
|
||||
|
||||
# Avoid using pip as root/sudo
|
||||
alias pip='pip --user'
|
||||
alias pip2='pip2 --user'
|
||||
# Avoid pip installing packages as root/sudo, execute the following line in your terminal or just delete the # at the begin
|
||||
#install -Dm644 /dev/stdin ~/.config/pip/pip.conf <<< $'[install]\nuser = yes\n'
|
||||
|
||||
### END OWN ALIAS ###
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue