Update (before using stow)

This commit is contained in:
2019-01-29 01:09:16 -05:00
parent 1f9a0bfbd5
commit dd3193d760
6 changed files with 16 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ printf "# vim: filetype=sh\\nalias " > "$aliases"
# Format the key file in the correct syntax and sent it to all configs.
sed "s/\s*#.*$//;/^\s*$/d" "$key_dirs" | tee \
>(awk '{print $1"=\"cd "$2" && ls -a\" \\"}' >> "$aliases") \
>(awk '{print "abbr", $1, "\"cd " $2 "; and ls -a\""}' >> "$fish_abbr") \
>(awk '{print "abbr", $1, "\"cd " $2 "\""}' >> "$fish_abbr") \
| awk '{print "map f"$1, "cd", $2;
print "map t"$1, "tab_new", $2;
print "map m"$1, "shell mv -v", $2;