idk, some updates, pls work

This commit is contained in:
fanyx 2021-05-26 16:13:50 +02:00
parent db09354388
commit aaefcca601
3 changed files with 11 additions and 5 deletions

View File

@ -6,7 +6,6 @@
# apt
_completion_loader apt
alias a="sudo apt"
complete -F _apt a
alias aql="sudo dpkg -l"
alias aqh="sudo apt-mark showhold"
@ -28,3 +27,5 @@ function aupg {
;;
esac
}
complete -F _apt a

View File

@ -11,12 +11,12 @@
# - bash_aliases
# - bash-completion
[[ -r ~/.bash_aliases ]] && . ~/.bash_aliases
[[ -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
[[ -r ~/.bash_aliases ]] && . ~/.bash_aliases
[[ -r ~/.ps1 ]] && . ~/.ps1
#################################
@ -38,3 +38,8 @@ shopt -s checkwinsize
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
#################################
# direnv
# put at end of .rc
eval "$(direnv hook bash)"

View File

@ -11,12 +11,12 @@
# - bash_aliases
# - bash-completion
[[ -r ~/.bash_aliases ]] && . ~/.bash_aliases
[[ -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
[[ -r ~/.bash_aliases ]] && . ~/.bash_aliases
[[ -r ~/.ps1 ]] && . ~/.ps1
#################################