aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--alias3
-rw-r--r--zsh/zshrc3
2 files changed, 2 insertions, 4 deletions
diff --git a/alias b/alias
index 62e023b..9314f85 100644
--- a/alias
+++ b/alias
@@ -106,9 +106,6 @@ ps1.swap() {
106fd() { echo /proc/$$/fd; ls -l /proc/$$/fd; } 106fd() { echo /proc/$$/fd; ls -l /proc/$$/fd; }
107port() { sudo lsof -i :$1; } 107port() { sudo lsof -i :$1; }
108alias ports='sudo lsof -i -Pn | grep LISTEN' 108alias ports='sudo lsof -i -Pn | grep LISTEN'
109.() {
110 source ${@:-$HOME/.$(basename $SHELL)rc}
111}
112alias ll='ls -lh' 109alias ll='ls -lh'
113alias lla='ls -lha' 110alias lla='ls -lha'
114llw() { which $1 | xargs ls -alh; } 111llw() { which $1 | xargs ls -alh; }
diff --git a/zsh/zshrc b/zsh/zshrc
index 44d41c1..636cb72 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -6,12 +6,13 @@ export SETTING_DIR=$HOME/helper
6source $SETTING_DIR/tools/init/load-settings.sh 6source $SETTING_DIR/tools/init/load-settings.sh
7fpath=($SETTING_DIR/zsh $fpath) 7fpath=($SETTING_DIR/zsh $fpath)
8 8
9# Reload zshrc
10alias .="source $0"
9 11
10# Options 12# Options
11setopt extended_glob 13setopt extended_glob
12setopt HIST_SAVE_NO_DUPS # Do not write a duplicate event to the history file. 14setopt HIST_SAVE_NO_DUPS # Do not write a duplicate event to the history file.
13 15
14
15# Edit Command Line 16# Edit Command Line
16autoload -Uz edit-command-line; zle -N edit-command-line 17autoload -Uz edit-command-line; zle -N edit-command-line
17bindkey -- "^X^E" edit-command-line 18bindkey -- "^X^E" edit-command-line