commit 48da78ece96721c31ac5f7d9da903808da90a3eb
parent 9b165ccad5d02ccfd89de932b6fe3aa5480b61ec
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 9 Apr 2020 12:57:16 +0200
Remove unused definitions from profile
Diffstat:
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/.profile b/.profile
@@ -14,6 +14,8 @@ GPG_TTY=$(tty)
export GPG_TTY
alias e='$EDITOR'
+alias c=clear
+alias r='fc -s'
f() {
$EDITOR $(find "${1:-.}" -type f | fzy -l 25)
@@ -24,17 +26,9 @@ if type doas >/dev/null 2>&1; then
else
alias se='sudo $EDITOR'
fi
-alias sx="sxiv -ft *.{png,jpg,jpeg,gif}"
-#c() {
-# dir=$(find "${1:-.}" -type d | grep -v '/\.' | fzy -l 25)
-# [ -d "$dir" ] && cd "$dir" || return
-#}
-alias c=clear
alias cg='c "$(git rev-parse --show-toplevel)"' # cd under git repo
-alias r='fc -s'
-
h() {
eval $(tail -r "$HISTFILE" | fzy -l 25)
}