]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - bin/hide
.vim: vim-plug @ebd534c
[dotfiles.git] / bin / hide
1 #!/bin/sh
2 # hide file by putting a dot in front
3 # usage: hide FILE [FILE]...
4 set -e
5 for f in "$@"
6 do
7 mv -v "$f" $(dirname "$f")/.$(basename "$f")
8 done