From 60cad3c96123350abc4c3a87a9caea72f130f6f2 Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 31 Dec 2019 17:15:15 -0600 Subject: [PATCH] Shells: Remove rcs that I never used --- .kshrc | 13 ------------- .zshrc | 51 --------------------------------------------------- 2 files changed, 64 deletions(-) delete mode 100755 .kshrc delete mode 100755 .zshrc diff --git a/.kshrc b/.kshrc deleted file mode 100755 index d920b922..00000000 --- a/.kshrc +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/ksh -# -# ~/.kshrc -# - -# Source /etc/profile -. /etc/profile - -# Source .profile -if [ -r ~/.profile ]; then - # shellcheck disable=1090 - . ~/.profile -fi diff --git a/.zshrc b/.zshrc deleted file mode 100755 index 621e7a64..00000000 --- a/.zshrc +++ /dev/null @@ -1,51 +0,0 @@ -#!/usr/bin/env zsh -# -# ~/.zshrc -# - -# Source /etc/profile -if [[ -f "/etc/profile" ]]; then - source /etc/profile 2>& /dev/null -fi - -# General options -DEFAULT_USER=salt -HISTFILE=~/.histfile -HISTSIZE=1000 -SAVEHIST=1000 -export LANG="en_US.UTF-8" -setopt appendhistory autocd extendedglob nomatch -unsetopt beep notify -bindkey -e - -# Partial history matching -autoload -U history-search-end -zle -N history-beginning-search-backward-end history-search-end -zle -N history-beginning-search-forward-end history-search-end -bindkey '\e[A' history-beginning-search-backward-end -bindkey '\e[B' history-beginning-search-forward-end - -# Set up styling -zstyle :compinstall filename '/home/salt/.zshrc' - -# Completion -autoload -Uz compinit -compinit -compdef _git dot -compdef _ssh ssht - -# The prompt -autoload -Uz promptinit -setopt prompt_percent -if [ "$SSH_CLIENT" = "" ]; then - PROMPT="[%F{blue}%~" -else - PROMPT="[%F{red}%B%m%b:%~" -fi -PROMPT="$PROMPT%f]%(0?..%F{red}%B?%b%f)%(!.%F{red}#%f.%F{green}$%f) " -promptinit - -# Source .profile -if [[ -f "$HOME/.profile" ]]; then - source "$HOME/.profile" 2>& /dev/null -fi