Last active
January 1, 2019 04:03
-
-
Save simonhaenisch/17f86173582f51d3fc85c4d13ca31732 to your computer and use it in GitHub Desktop.
remove dot from dotfiles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/zsh | |
setopt dotglob | |
for f in *; do mv "$f" "${f:1}"; done | |
unsetopt dotglob |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment