Skip to content

Commit

Permalink
Merge pull request #41 from BrianGilbert/feature/40-alias-chgext
Browse files Browse the repository at this point in the history
[#40] Fixed error line 161 defining function chgext.
  • Loading branch information
unixorn committed Apr 14, 2018
2 parents f336fa0 + d651c64 commit 60fb717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zsh/.zsh_functions
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ show_terminal_colors() {
}

# Batch change extension from $1 to $2
chgext() {
function chgext {
for file in *.$1
do
mv $file $(echo $file | sed "s/\(.*\.\)$1/\1$2/")
Expand Down

0 comments on commit 60fb717

Please sign in to comment.