mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 21:38:32 +08:00
Compare commits
2 Commits
ed4e317bbb
...
bed0344627
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bed0344627 | ||
|
|
f23e4912cf |
@ -78,7 +78,7 @@ function fastfile_print() {
|
|||||||
# (=> fastfle_print) for each shortcut
|
# (=> fastfle_print) for each shortcut
|
||||||
#
|
#
|
||||||
function fastfile_ls() {
|
function fastfile_ls() {
|
||||||
for f in "${fastfile_dir}"/*; do
|
for f in "${fastfile_dir}"/*(NF); do
|
||||||
file=`basename "$f"` # To enable simpler handeling of spaces in file names
|
file=`basename "$f"` # To enable simpler handeling of spaces in file names
|
||||||
varkey=`echo "$file" | tr " " "_"`
|
varkey=`echo "$file" | tr " " "_"`
|
||||||
|
|
||||||
@ -104,7 +104,7 @@ function fastfile_rm() {
|
|||||||
# Generate the aliases for the shortcuts
|
# Generate the aliases for the shortcuts
|
||||||
#
|
#
|
||||||
function fastfile_sync() {
|
function fastfile_sync() {
|
||||||
for f in "${fastfile_dir}"/*(N); do
|
for f in "${fastfile_dir}"/*(NF); do
|
||||||
file=`basename "$f"` # To enable simpler handeling of spaces in file names
|
file=`basename "$f"` # To enable simpler handeling of spaces in file names
|
||||||
varkey=`echo "$file" | tr " " "_"`
|
varkey=`echo "$file" | tr " " "_"`
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user