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
93af38f1
Commit
93af38f1
authored
Sep 22, 2009
by
James Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
further refactorings
parent
1f05826a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
15 deletions
+17
-15
.gitignore
.gitignore
+1
-1
completion.zsh
completion.zsh
+8
-1
directories.zsh
directories.zsh
+1
-1
key-bindings.zsh
key-bindings.zsh
+2
-0
prompt.zsh
prompt.zsh
+5
-12
No files found.
.gitignore
View file @
93af38f1
locals.zsh
log/.zsh_history
projects.zsh
completion.zsh
View file @
93af38f1
...
...
@@ -19,7 +19,7 @@ zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:
zstyle
':completion:*'
list-colors
''
zstyle
':completion:*'
hosts
$(
sed
's/[, ].*$//'
$HOME
/.ssh/known_hosts
)
#
unsetopt MENU_COMPLETE
unsetopt MENU_COMPLETE
#setopt AUTO_MENU
# should this be in keybindings?
...
...
@@ -31,3 +31,10 @@ zstyle ':completion:*:*:*:*:*' menu yes select
zstyle
':completion:*:*:kill:*:processes'
list-colors
'=(#b) #([0-9]#) ([0-9a-z-]#)*=01;34=0=01'
zstyle
':completion:*:*:*:*:processes'
command
"ps -u
`
whoami
`
-o pid,user,comm -w -w"
zstyle
':completion:*:*:(ssh|scp):*:*'
hosts
`
sed
's/^\([^ ,]*\).*$/\1/'
~/.ssh/known_hosts
`
#complete on history
# zstyle ':completion:*:history-words' stop yes
# zstyle ':completion:*:history-words' remove-all-dups yes
# zstyle ':completion:*:history-words' list false
# zstyle ':completion:*:history-words' menu yes
\ No newline at end of file
directories.zsh
View file @
93af38f1
# Changing/making/removing directory
setopt auto_name_dirs
alias
..
=
'cd ..'
alias
cd..
=
'cd ..'
...
...
key-bindings.zsh
View file @
93af38f1
# TODO: Explain what some of this does..
autoload
-U
compinit
compinit
bindkey
-e
bindkey
'\ew'
kill-region
bindkey
-s
'\el'
"ls
\n
"
bindkey
-s
'\e.'
"..
\n
"
...
...
prompt.zsh
View file @
93af38f1
export
PAGER
=
less
export
LC_CTYPE
=
en_US.UTF-8
bindkey
-e
# speed stuff.
# Directory stuff.
setopt AUTO_NAME_DIRS
# Speed stuff.
#setopt NO_BEEP
setopt AUTO_CD
setopt MULTIOS
setopt CDABLEVARS
bindkey
-e
#setopt no_beep
setopt auto_cd
setopt multios
setopt cdablevarS
if
[[
x
$WINDOW
!=
x
]]
then
...
...
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