Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
2d6965f8
Commit
2d6965f8
authored
May 26, 2020
by
Marc Cornellà
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix load of various plugins: fastfile, keychain, sfffe, stack
parent
68d51bd7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
11 deletions
+10
-11
fastfile.plugin.zsh
plugins/fastfile/fastfile.plugin.zsh
+2
-2
keychain.plugin.zsh
plugins/keychain/keychain.plugin.zsh
+3
-6
sfffe.plugin.zsh
plugins/sfffe/sfffe.plugin.zsh
+3
-3
stack.plugin.zsh
plugins/stack/stack.plugin.zsh
+2
-0
No files found.
plugins/fastfile/fastfile.plugin.zsh
View file @
2d6965f8
...
...
@@ -5,7 +5,7 @@
# If they are not set yet, they will be
# overwritten with their default values
default fastfile_dir
"
${
HOME
}
/.fastfile
/
"
default fastfile_dir
"
${
HOME
}
/.fastfile"
default fastfile_var_prefix
"§"
###########################
...
...
@@ -104,7 +104,7 @@ function fastfile_rm() {
# Generate the aliases for the shortcuts
#
function
fastfile_sync
()
{
for
f
in
"
${
fastfile_dir
}
"
/
*
;
do
for
f
in
"
${
fastfile_dir
}
"
/
*
(
N
)
;
do
file
=
`
basename
"
$f
"
`
# To enable simpler handeling of spaces in file names
varkey
=
`
echo
"
$file
"
|
tr
" "
"_"
`
...
...
plugins/keychain/keychain.plugin.zsh
View file @
2d6965f8
((
$+
commands[keychain]
))
||
return
# Define SHORT_HOST if not defined (%m = host name up to first .)
SHORT_HOST
=
${
SHORT_HOST
:-${
(%)
:-
%m
}}
function
_start_agent
()
{
function
{
local
agents
local
-a
identities
local
-a
options
...
...
@@ -28,8 +30,3 @@ function _start_agent() {
[
-f
"
$_keychain_env_sh
"
]
&&
.
"
$_keychain_env_sh
"
[
-f
"
$_keychain_env_sh_gpg
"
]
&&
.
"
$_keychain_env_sh_gpg
"
}
_start_agent
# tidy up after ourselves
unfunction _start_agent
plugins/sfffe/sfffe.plugin.zsh
View file @
2d6965f8
...
...
@@ -6,9 +6,9 @@
# REQUIRE: ack
# ------------------------------------------------------------------------------
if
[
!
-x
$(
which ack
)
]
;
then
echo
\'
ack
\'
is not installed!
exit
-1
if
((
!
$+
commands[ack]
))
;
then
echo
"'ack' is not installed!"
return
fi
ajs
()
{
...
...
plugins/stack/stack.plugin.zsh
View file @
2d6965f8
((
$+
commands[stack]
))
||
return
autoload
-U
+X bashcompinit
&&
bashcompinit
source
<
(
stack
--bash-completion-script
stack
)
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