Skip to content

Commit

Permalink
only DL new OMP once every 4 days
Browse files Browse the repository at this point in the history
seefood committed Aug 10, 2024
1 parent aa3387c commit 33b7b90
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions home/.bash_aliases.d/ira.private.sh
Original file line number Diff line number Diff line change
@@ -19,8 +19,9 @@ if [[ $USER =~ ^ira ]]; then
alias wsig="signal-desktop --user-data-dir=${HOME}/.config/Signal-Work &> /dev/null &"
alias upt='sudo apt -u dist-upgrade; \
echo OMP version is now $(oh-my-posh version); \
curl -s https://ohmyposh.dev/install.sh | bash -s -- -d ~/.local/bin; \
echo OMP version is now $(oh-my-posh version); \
[ "$(find ~/.local/bin/oh-my-posh -mtime +4)" ] && \
{ curl -s https://ohmyposh.dev/install.sh | bash -s -- -d ~/.local/bin; \
echo OMP version is now $(oh-my-posh version); } ; \
flatpak update -y; sudo flatpak update -y'
alias uupt='sudo apt update && upt'
alias uptc='uupt && sudo apt-get --purge autoremove'
1 change: 1 addition & 0 deletions home/.bashrc
Original file line number Diff line number Diff line change
@@ -38,6 +38,7 @@ for newpath in ~/bin ~/.local/bin /opt/nginx/sbin /usr/local/sbin \
~/.fzf/bin \
~/Library/Python/3.*/bin \
/opt/homebrew/bin \
~/.local/platform-tools \
~/.local/miniconda3/bin; do
[[ -d ${newpath} ]] && PATH="$(path_prepend "${newpath}" "${PATH}")"
export PATH

0 comments on commit 33b7b90

Please sign in to comment.