idk, some updates, pls work
This commit is contained in:
parent
db09354388
commit
aaefcca601
|
@ -6,7 +6,6 @@
|
||||||
# apt
|
# apt
|
||||||
_completion_loader apt
|
_completion_loader apt
|
||||||
alias a="sudo apt"
|
alias a="sudo apt"
|
||||||
complete -F _apt a
|
|
||||||
|
|
||||||
alias aql="sudo dpkg -l"
|
alias aql="sudo dpkg -l"
|
||||||
alias aqh="sudo apt-mark showhold"
|
alias aqh="sudo apt-mark showhold"
|
||||||
|
@ -28,3 +27,5 @@ function aupg {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
complete -F _apt a
|
||||||
|
|
|
@ -11,12 +11,12 @@
|
||||||
# - bash_aliases
|
# - bash_aliases
|
||||||
# - bash-completion
|
# - bash-completion
|
||||||
|
|
||||||
[[ -r ~/.bash_aliases ]] && . ~/.bash_aliases
|
|
||||||
|
|
||||||
[[ -r /usr/share/bash-completion/bash_completion ]] && . /usr/share/bash-completion/bash_completion
|
[[ -r /usr/share/bash-completion/bash_completion ]] && . /usr/share/bash-completion/bash_completion
|
||||||
|
|
||||||
[[ -f /etc/bash_completion.d/git-prompt ]] && . /etc/bash_completion.d/git-prompt
|
[[ -f /etc/bash_completion.d/git-prompt ]] && . /etc/bash_completion.d/git-prompt
|
||||||
|
|
||||||
|
[[ -r ~/.bash_aliases ]] && . ~/.bash_aliases
|
||||||
|
|
||||||
[[ -r ~/.ps1 ]] && . ~/.ps1
|
[[ -r ~/.ps1 ]] && . ~/.ps1
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
@ -38,3 +38,8 @@ shopt -s checkwinsize
|
||||||
|
|
||||||
# make less more friendly for non-text input files, see lesspipe(1)
|
# make less more friendly for non-text input files, see lesspipe(1)
|
||||||
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# direnv
|
||||||
|
# put at end of .rc
|
||||||
|
eval "$(direnv hook bash)"
|
||||||
|
|
|
@ -11,12 +11,12 @@
|
||||||
# - bash_aliases
|
# - bash_aliases
|
||||||
# - bash-completion
|
# - bash-completion
|
||||||
|
|
||||||
[[ -r ~/.bash_aliases ]] && . ~/.bash_aliases
|
|
||||||
|
|
||||||
[[ -r /usr/share/bash-completion/bash_completion ]] && . /usr/share/bash-completion/bash_completion
|
[[ -r /usr/share/bash-completion/bash_completion ]] && . /usr/share/bash-completion/bash_completion
|
||||||
|
|
||||||
[[ -f /usr/share/git/git-prompt.sh ]] && . /usr/share/git/git-prompt.sh
|
[[ -f /usr/share/git/git-prompt.sh ]] && . /usr/share/git/git-prompt.sh
|
||||||
|
|
||||||
|
[[ -r ~/.bash_aliases ]] && . ~/.bash_aliases
|
||||||
|
|
||||||
[[ -r ~/.ps1 ]] && . ~/.ps1
|
[[ -r ~/.ps1 ]] && . ~/.ps1
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
Loading…
Reference in New Issue