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
dafef0b6
Commit
dafef0b6
authored
Jan 11, 2012
by
Mark Drago
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into cloud_parameter
parents
95971a28
7a41498b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
bundler.plugin.zsh
plugins/bundler/bundler.plugin.zsh
+1
-1
rvm.plugin.zsh
plugins/rvm/rvm.plugin.zsh
+1
-1
terminalapp.plugin.zsh
plugins/terminalapp/terminalapp.plugin.zsh
+11
-0
No files found.
plugins/bundler/bundler.plugin.zsh
View file @
dafef0b6
...
...
@@ -10,7 +10,7 @@ alias bu="bundle update"
# The following is based on https://github.com/gma/bundler-exec
bundled_commands
=(
cap capify cucumber foreman guard heroku nanoc rackup rainbows rake rspec ruby shotgun spec spork thin unicorn unicorn_rails
)
bundled_commands
=(
annotate
cap capify cucumber foreman guard heroku nanoc rackup rainbows rake rspec ruby shotgun spec spork thin unicorn unicorn_rails
)
## Functions
...
...
plugins/rvm/rvm.plugin.zsh
View file @
dafef0b6
...
...
@@ -37,7 +37,7 @@ function gems {
local
current_gemset
=
`
rvm-prompt g
`
gem list
$@
|
sed
\
-Ee
"s/
\(
[0-9
\.
]+( .+)?
\)
/
$fg
[blue]&
$reset_color
/g"
\
-Ee
"s/
\(
[0-9
,
\.
]+( .+)?
\)
/
$fg
[blue]&
$reset_color
/g"
\
-Ee
"s|
$(
echo
$rvm_path
)
|
$fg
[magenta]
\$
rvm_path
$reset_color
|g"
\
-Ee
"s/
$current_ruby
@global/
$fg
[yellow]&
$reset_color
/g"
\
-Ee
"s/
$current_ruby$current_gemset$/$fg
[green]&
$reset_color
/g"
...
...
plugins/terminalapp/terminalapp.plugin.zsh
0 → 100644
View file @
dafef0b6
# Set Apple Terminal.app resume directory
# based on this answer: http://superuser.com/a/315029
function
chpwd
{
local
SEARCH
=
' '
local
REPLACE
=
'%20'
local
PWD_URL
=
"file://
$HOSTNAME
${
PWD
//
$SEARCH
/
$REPLACE
}
"
printf
'\e]7;%s\a'
"
$PWD_URL
"
}
chpwd
\ No newline at end of file
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