Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
bed03446
Commit
bed03446
authored
Jun 04, 2020
by
Marc Cornellà
Browse files
Merge branch 'ohmyzsh/pull-7157' (#7157)
Closes #7157
parents
ed4e317b
f23e4912
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/fastfile/fastfile.plugin.zsh
View file @
bed03446
...
@@ -78,7 +78,7 @@ function fastfile_print() {
...
@@ -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() {
...
@@ -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
}
"
/
*
(
N
F
)
;
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
" "
"_"
`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment