Change terminal title when editing a note
This commit is contained in:
parent
5b956b096c
commit
58c309fe91
2
nnote
2
nnote
|
@ -43,6 +43,8 @@ else
|
||||||
printf "$NOTENAME$NOTEHEAD\n---\n\n" > "$NOTEPATH"
|
printf "$NOTENAME$NOTEHEAD\n---\n\n" > "$NOTEPATH"
|
||||||
fi
|
fi
|
||||||
pushd "$NOTESDIR" > /dev/null
|
pushd "$NOTESDIR" > /dev/null
|
||||||
|
printf "\033]2;$NOTENAME $NOTETYPE note\a"
|
||||||
$EDITOR "$NOTEPATH"
|
$EDITOR "$NOTEPATH"
|
||||||
|
printf "\033]2;\a"
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue