mirror of
https://github.com/notwa/rc
synced 2024-11-05 02:49:02 -08:00
rename shrc.zsh to .-shrc
This commit is contained in:
parent
d57e43efa8
commit
d46b0100f6
4 changed files with 4 additions and 3 deletions
|
@ -1,3 +1,4 @@
|
|||
#!/bin/zsh
|
||||
# for both zsh and bash
|
||||
|
||||
umask 027 # screw others
|
|
@ -27,7 +27,7 @@ ret_fail="$_title${Cfail}$_line1\n${Cfail}$_line2"
|
|||
|
||||
PROMPT_COMMAND='[ $? = 0 ] && PS1=${ret_succ} || PS1=${ret_fail}'
|
||||
|
||||
. ~/shrc.zsh
|
||||
. ~/.-shrc
|
||||
|
||||
# this doesn't work for all scripts at the moment, but
|
||||
ADDPATH "$HOME/sh"
|
||||
|
|
|
@ -139,7 +139,7 @@ autoload edit-command-line
|
|||
zle -N edit-command-line # new widget of the same function name
|
||||
bindkey '^Xe' edit-command-line # ctrl+x -> e
|
||||
|
||||
. ~/shrc.zsh
|
||||
. ~/.-shrc
|
||||
|
||||
alias -g STFU="2>/dev/null"
|
||||
|
||||
|
|
2
install
2
install
|
@ -42,7 +42,7 @@ PATH="${PATH:?No existing PATH}:$rc/sh"
|
|||
|
||||
umask 027
|
||||
|
||||
for f in .bashrc .zshrc shrc.zsh .vimrc .conkyrc .inputrc .screenrc .xinitrc; do
|
||||
for f in .bashrc .zshrc .-shrc .vimrc .conkyrc .inputrc .screenrc .xinitrc; do
|
||||
dotless "$f"
|
||||
r="$rc/home/$REPLY"
|
||||
hardlink "$f" "$r"
|
||||
|
|
Loading…
Reference in a new issue