Compare commits

..

No commits in common. "3d740f1c3b984af1d692688cae8b653bc8e54233" and "647831e8601b9a40a60b0151bb55bb9ff0dfffca" have entirely different histories.

2 changed files with 1 additions and 21 deletions

View File

@ -1,5 +1,3 @@
#!/usr/bin/env bash
if [ "$TERM" == 'xterm-kitty' ]; then
alias ssh='kitty +kitten ssh'
alias diff='kitty +kitten diff'
@ -31,21 +29,6 @@ alias fssizes='df -kh --output=size,used,avail,pcent,target | sort -hr'
alias dirsizes='du -kh --apparent-size --max-depth=1 | sort -hr'
updateFlatpak() {
noconfirm=
if [[ $1 == "-y" ]]; then
noconfirm="--assumeyes";
fi
executeAndNotify "doUpdateFlatpak $noconfirm" "flatpaks updated" "flatpak update failed";
}
doUpdateFlatpak() {
flatpak update $1;
flatpak remove --unused $1
}
# executes command and notifies upon failure
execute() {
dir="$(pwd)";

View File

@ -2,9 +2,6 @@
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
set -o pipefail
# set -u
# If not running interactively, don't do anything
if [[ $- != *i* ]]; then
return