Browse Source

bin/wip: use ~/workspace

main
Brennen Bearnes 1 year ago
parent
commit
ce77d98f4f
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      home/bin/wip

+ 3
- 3
home/bin/wip View File

@ -1,10 +1,10 @@
#!/bin/sh
TARGET_DIRECTORY=~/p1k3/archives/wip
TARGET_DIRECTORY=~/workspace/p1k3/archives/wip
show_help () {
cat<<DOC
wip: moves a file to ~/p1k3/archives/wip/[new_name]
wip: moves a file to ${TARGET_DIRECTORY}/[new_name]
USAGE:
wip file_to_move new_name
@ -26,7 +26,7 @@ main () {
target_file="$TARGET_DIRECTORY/$2"
if [ -f $target_file ]; then
if [ -f "$target_file" ]; then
echo "$target_file already exists"
exit 3
fi


Loading…
Cancel
Save