From d46b0100f6606cab9d7c0b56b1f9cb92776ffaba Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Fri, 14 Mar 2014 17:04:46 -0700 Subject: [PATCH] rename shrc.zsh to .-shrc --- home/{shrc.zsh => -shrc} | 1 + home/bashrc | 2 +- home/zshrc | 2 +- install | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) rename home/{shrc.zsh => -shrc} (99%) diff --git a/home/shrc.zsh b/home/-shrc similarity index 99% rename from home/shrc.zsh rename to home/-shrc index 3c7b270..1eabfd1 100644 --- a/home/shrc.zsh +++ b/home/-shrc @@ -1,3 +1,4 @@ +#!/bin/zsh # for both zsh and bash umask 027 # screw others diff --git a/home/bashrc b/home/bashrc index 4246cb8..c42beeb 100644 --- a/home/bashrc +++ b/home/bashrc @@ -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" diff --git a/home/zshrc b/home/zshrc index eeaba7b..d61a7f9 100644 --- a/home/zshrc +++ b/home/zshrc @@ -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" diff --git a/install b/install index 9ac63b4..8eeb1f0 100755 --- a/install +++ b/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"