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
b6d77820
Commit
b6d77820
authored
Sep 23, 2009
by
James Cox
Browse files
more fixes, more or less have this as i want
parent
93af38f1
Changes
4
Hide whitespace changes
Inline
Side-by-side
directories.zsh
View file @
b6d77820
# Changing/making/removing directory
# Changing/making/removing directory
setopt auto_name_dirs
setopt auto_name_dirs
setopt auto_pushd
setopt pushd_ignore_dups
alias
..
=
'cd ..'
alias
..
=
'cd ..'
alias
cd..
=
'cd ..'
alias
cd..
=
'cd ..'
...
...
functions.zsh
View file @
b6d77820
## fixme, i duplicated this in xterms - oops
function
title
{
function
title
{
if
[[
$TERM
==
"screen"
]]
;
then
if
[[
$TERM
==
"screen"
]]
;
then
# Use these two for GNU Screen:
# Use these two for GNU Screen:
...
...
key-bindings.zsh
View file @
b6d77820
...
@@ -9,6 +9,11 @@ bindkey -s '\e.' "..\n"
...
@@ -9,6 +9,11 @@ bindkey -s '\e.' "..\n"
bindkey
'^r'
history-incremental-search-backward
bindkey
'^r'
history-incremental-search-backward
bindkey
"^[[5~"
up-line-or-history
bindkey
"^[[5~"
up-line-or-history
bindkey
"^[[6~"
down-line-or-history
bindkey
"^[[6~"
down-line-or-history
# make search up and down work, so partially type and hit up/down to find relevant stuff
bindkey
'^[[A'
up-line-or-search
bindkey
'^[[B'
down-line-or-search
bindkey
"^[[H"
beginning-of-line
bindkey
"^[[H"
beginning-of-line
bindkey
"^[[1~"
beginning-of-line
bindkey
"^[[1~"
beginning-of-line
bindkey
"^[[F"
end-of-line
bindkey
"^[[F"
end-of-line
...
...
misc.zsh
View file @
b6d77820
...
@@ -3,4 +3,7 @@ autoload -U url-quote-magic
...
@@ -3,4 +3,7 @@ autoload -U url-quote-magic
zle
-N
self-insert url-quote-magic
zle
-N
self-insert url-quote-magic
## file rename magick
## file rename magick
bindkey
"^[m"
copy-prev-shell-word
bindkey
"^[m"
copy-prev-shell-word
\ No newline at end of file
## jobs
setopt long_list_jobs
\ 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