Skip to content

Commit

Permalink
tidy up the aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
seefood committed Jun 15, 2024
1 parent 7474670 commit 2c2e2a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion home/.bash_aliases.d/ira.private.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ if [[ $USER =~ ^ira ]]; then
alias mgif='v2gif *.webm *.mp4 -d'

if [[ "$OSTYPE" == "darwin"* ]]; then
alias psig="/Applications/Signal.app/Contents/MacOS/Signal --user-data-dir=${HOME}/.config/Signal-Personal &> /dev/null &"
alias upt='brew upgrade'
alias uupt='brew upgrade'
else
alias wsig="signal-desktop --user-data-dir=${HOME}/.config/Signal-Work &> /dev/null &"
alias upt='sudo apt -u dist-upgrade'
alias uupt='sudo apt update && upt'
alias uptc='uupt ; sudo apt-get --purge autoremove `deborphan` `deborphan --guess-dev` `deborphan --guess-debug`'
Expand All @@ -37,5 +39,4 @@ if [[ $USER =~ ^ira ]]; then
export DEBEMAIL="nospam-debmail@ira.abramov.org"
export DEBFULLNAME="Ira Abramov"
# shellcheck disable=SC2139
alias psig="/Applications/Signal.app/Contents/MacOS/Signal --user-data-dir=${HOME}/.config/Signal-Personal &"
fi
2 changes: 1 addition & 1 deletion home/.vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ set linebreak " don't wrap textin the middle of a word
set autoindent " always set autoindenting on
set smartindent " use smart indent if there is no indent file
set tabstop=4 " <tab> inserts 4 spaces
set shiftwidth=4 " but an indent level is 2 spaces wide.
set shiftwidth=2 " but an indent level is 2 spaces wide.
set softtabstop=4 " <BS> over an autoindent deletes both spaces.
set expandtab " Use spaces, not tabs, for autoindent/tab key.
set shiftround " rounds indent to a multiple of shiftwidth
Expand Down

0 comments on commit 2c2e2a3

Please sign in to comment.