dotfiles

Settings and scripts
git clone git://git.konyahin.xyz/dotfiles
Log | Files | Refs | LICENSE

commit edf04a39d30f25ba44077c285389da5ea521639a
parent eb626af3977069611c53f3093efdc53f3eb86438
Author: Anton Konyahin <me@konyahin.xyz>
Date:   Mon, 11 Mar 2024 20:30:14 +0300

sh: escratch and etodo commands

Diffstat:
Msh/.config/ksh/kshrc | 9+++------
Msh/.profile | 1+
2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/sh/.config/ksh/kshrc b/sh/.config/ksh/kshrc @@ -37,22 +37,21 @@ alias evi='$EDITOR ~/.nexrc' alias enb='$EDITOR ~/.newsboat/config' alias enbu='$EDITOR ~/.newsboat/urls' -export FZF_DEFAULT_OPTS="--preview='bat {}'" alias ef='$EDITOR $(find . | fzf)' alias et='$EDITOR -t $(cat tags | awk "{print \$1}" | fzf)' alias en='$EDITOR "$(find ~/public_gopher -type f | fzf)"' alias vn='v "$(find ~/public_gopher -type f | fzf)"' alias edot='$EDITOR "$(find ~/dotfiles -type f ! -path "*.git/*" | fzf)"' +alias escratch='$EDITOR $SCRATCH_PATH' +alias etodo='$EDITOR $TODO_PATH' + alias cvsupdate='cvs -q up -Pd -A' alias cvsdiff='cvs diff -uNp' alias cvsrestore='cvs update -C' alias gpush='git remote | xargs -n 1 git push' -alias gtd-d="sttemp gtd-daily | less" -alias gtd-w="sttemp gtd-weekly | less" - alias notes="vf1 localhost/1/~anton" fzf-in () { @@ -78,8 +77,6 @@ cheat () { curl "cheat.sh/$1" | bat } -alias music-dl='youtube-dl -f "bestaudio[ext=m4a]"' - alias reload='. ~/.config/ksh/kshrc' whatabout () { diff --git a/sh/.profile b/sh/.profile @@ -1,2 +1,3 @@ export NOTES_PATH="/home/anton/data/notes" export SCRATCH_PATH="$NOTES_PATH/scratch.md" +export TODO_PATH="$NOTES_PATH/todo.txt"