commit 7c6bd0711c8966d5bc3d3c939c8204fbef51e94c parent a9e163f824d33c98643230dbcd9a28271df00235 author: nathanael <nathanael@dalliard.ch> date: Thu, 6 Nov 2025 15:19:47 +0000 s0: rm bin journal diffstat:
| D | s0/dotfiles/bin/journal | | | 11 | ----------- |
| M | s0/dotfiles/shrc | | | 2 | +- |
2 files changed, 1 insertion(+), 12 deletions(-)
diff --git a/s0/dotfiles/bin/journal b/s0/dotfiles/bin/journal @@ -1,11 +0,0 @@ -#!/bin/sh -today=$(date +"%Y-%m-%d") -name="$today".md -dir=$(echo ~/prv/journal) -path="$dir/$name" - -if [[ ! -f "$path" ]]; then - echo "$today\n" > "$path" -fi - -"$EDITOR" "$path" diff --git a/s0/dotfiles/shrc b/s0/dotfiles/shrc @@ -1,7 +1,6 @@ alias b=backup alias c=chat alias f=nnn -alias j=journal alias l=ls alias m=minbox alias n=news @@ -12,6 +11,7 @@ alias v=vi e() { "$EDITOR" ~/prv/todo; } h() { tmux new -DAs s0; } +j() { nnn -c ~/prv/notes/; } s() { cd "$HOME/src/src/$(hostname -s)"; } t() { grep '^o' ~/prv/todo; } x() { nsxiv -ator "${1:-.}"; }