maint: stuff
This commit is contained in:
parent
2690012be5
commit
c7dcdf7784
3 changed files with 12 additions and 161 deletions
|
@ -68,3 +68,12 @@ function back_things_up() {
|
|||
function devlog() {
|
||||
vim -c 'Goyo' '+normal Go' +startinsert ~/projects/personal/devlog/logs/$(date '+%Y-%m-%d').gmi
|
||||
}
|
||||
|
||||
# NOTE: this might need a mapped network drive to work (e.g. Z:\)
|
||||
function cmd() {
|
||||
CMD=$1
|
||||
shift;
|
||||
ARGS=$@
|
||||
WIN_PWD=$(wslpath -w ${PWD})
|
||||
cmd.exe /c "pushd ${WIN_PWD} && ${CMD} ${ARGS}"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue