Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
home
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Murukesh Mohanan
home
Commits
82d6e214
Commit
82d6e214
authored
Jun 15, 2017
by
Murukesh Mohanan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new alias
parent
73dad27c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
9 deletions
+6
-9
.vim
.vim
+1
-1
.zsh/fast-syntax-highlighting
.zsh/fast-syntax-highlighting
+1
-1
.zshrc
.zshrc
+4
-7
No files found.
.vim
@
0994d7af
Subproject commit
bbf93b4e5fd63b3a76d2524feec6826b4fad8ee7
Subproject commit
0994d7afe6b021312798f4d884bed6d4f07ac9de
fast-syntax-highlighting
@
6b07615a
Subproject commit
7d6524e6fbdfa6c3bdd5cf840f6aac0bd39f514d
Subproject commit
6b07615a68936a074a04f709a2366d5c27faa762
.zshrc
View file @
82d6e214
...
...
@@ -11,8 +11,8 @@ compinit -i
# End of lines added by compinstall
# Lines configured by zsh-newuser-install
HISTFILE
=
~/.histfile
HISTSIZE
=
10000
SAVEHIST
=
10000
HISTSIZE
=
10000
0
SAVEHIST
=
10000
0
setopt appendhistory autocd extendedglob notify
bindkey
-v
# End of lines configured by zsh-newuser-install
...
...
@@ -68,7 +68,7 @@ DIRSTACKFILE="$HOME/.cache/zsh/dirs"
if
[[
-f
$DIRSTACKFILE
]]
&&
[[
$#dirstack
-eq
0
]]
;
then
dirstack
=(
${
(f)
"
$(
<
$DIRSTACKFILE
)
"
}
)
[[
-d
$dirstack
[
1]
]]
&&
cd
$dirstack
[
1]
[[
-
z
$ITERM_SESSION
]]
&&
[[
-
d
$dirstack
[
1]
]]
&&
cd
$dirstack
[
1]
fi
chpwd
()
{
print
-l
$PWD
${
(u)dirstack
}
>
$DIRSTACKFILE
...
...
@@ -84,9 +84,6 @@ setopt pushdignoredups
## This reverts the +/- operators.
setopt pushdminus
export
DEBEMAIL
=
"murukesh@cse.iitb.ac.in"
export
DEBFULLNAME
=
"Murukesh Mohanan"
# Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert
alias
alert
=
'notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '
\'
's/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'
\'
')"'
...
...
@@ -145,7 +142,7 @@ autoload run-help-git
alias help
=
run-help
ssht
()
{
ssh
-Xt
"
$@
"
'$SHELL -lc byobu'
ssh
-Xt
"
$@
"
'$SHELL -l
i
c byobu'
}
# pip zsh completion start
...
...
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