Compare commits
2 Commits
eff67c276c
...
d9602cb5d2
| Author | SHA1 | Date | |
|---|---|---|---|
| d9602cb5d2 | |||
| ce92e7fbcc |
3
.bashrc
3
.bashrc
@ -26,6 +26,9 @@ if [ -x /usr/bin/dircolors ]; then
|
|||||||
alias ll='ls -l --color=auto -h --group-directories-first'
|
alias ll='ls -l --color=auto -h --group-directories-first'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Custom git alias for pushing to all remotes at once
|
||||||
|
alias gpa='git remote | xargs -L1 git push --all'
|
||||||
|
|
||||||
# simplify bitwarden cli usage
|
# simplify bitwarden cli usage
|
||||||
alias bwu='export BW_SESSION=$(bw unlock --raw > ~/.bw_session && cat ~/.bw_session)'
|
alias bwu='export BW_SESSION=$(bw unlock --raw > ~/.bw_session && cat ~/.bw_session)'
|
||||||
function bwgp () { local test=$(export BW_SESSION=~/.bw_session) && bw get password "$1" | xclip -selection c; }
|
function bwgp () { local test=$(export BW_SESSION=~/.bw_session) && bw get password "$1" | xclip -selection c; }
|
||||||
|
|||||||
@ -58,3 +58,35 @@ To pair a wireless headset we first need to install the pa bluetooth module.
|
|||||||
#+begin_src tmate
|
#+begin_src tmate
|
||||||
sudo apt install pulseaudio-module-bluetooth
|
sudo apt install pulseaudio-module-bluetooth
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
|
* Optional configuration
|
||||||
|
|
||||||
|
Once the primary setup is complete there is some further customisation I will generally do however these steps are optional.
|
||||||
|
|
||||||
|
** List apt changelogs when upgrading
|
||||||
|
|
||||||
|
Development for linux mobile packages is happening at a fast rate and breaking changes are sometimes introduced. For this reason I like to keep a close eye on package changelogs and get an idea of what is changing before an upgrade.
|
||||||
|
|
||||||
|
To help with this package changelogs can be displayed directly in terminal whenever completing a ~sudo apt upgrade~. Follow the steps below to set this up.
|
||||||
|
|
||||||
|
#+NAME: Install list changes
|
||||||
|
#+begin_src tmate
|
||||||
|
sudo apt install --yes apt-listchanges
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
#+NAME: Set listchanges config
|
||||||
|
#+begin_src tmate
|
||||||
|
sudo tee /etc/apt/listchanges.conf << EOF
|
||||||
|
[apt]
|
||||||
|
frontend=text
|
||||||
|
which=both
|
||||||
|
email_address=none
|
||||||
|
email_format=text
|
||||||
|
confirm=true
|
||||||
|
headers=false
|
||||||
|
reverse=false
|
||||||
|
save_seen=/var/lib/apt/listchanges.db
|
||||||
|
no_network=false
|
||||||
|
EOF
|
||||||
|
#+end_src
|
||||||
|
|||||||
Reference in New Issue
Block a user