Last active
June 7, 2020 23:20
-
-
Save kclejeune/7fcdb984eac9e2f1796d908745be313d to your computer and use it in GitHub Desktop.
rc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# System-wide .bashrc file for interactive bash(1) shells. | |
if [ -z "$PS1" ]; then | |
return | |
fi | |
PS1='\h:\W \u\$ ' | |
# Make bash check its window size after a process completes | |
shopt -s checkwinsize | |
[ -r "/etc/bashrc_$TERM_PROGRAM" ] && . "/etc/bashrc_$TERM_PROGRAM" | |
# Nix | |
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then | |
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' | |
fi | |
# End Nix | |
if test -e /etc/static/bashrc; then . /etc/static/bashrc; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/zprofile: DO NOT EDIT -- this file has been generated automatically. | |
# This file is read for login shells. | |
# Only execute this file once per shell. | |
if [ -n "$__ETC_ZPROFILE_SOURCED" ]; then return; fi | |
__ETC_ZPROFILE_SOURCED=1 | |
# Read system-wide modifications. | |
if test -f /etc/zprofile.local; then | |
source /etc/zprofile.local | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/zshrc: DO NOT EDIT -- this file has been generated automatically. | |
# This file is read for interactive shells. | |
# Only execute this file once per shell. | |
if [ -n "$__ETC_ZSHRC_SOURCED" -o -n "$NOSYSZSHRC" ]; then return; fi | |
__ETC_ZSHRC_SOURCED=1 | |
# history defaults | |
SAVEHIST=2000 | |
HISTSIZE=2000 | |
HISTFILE=$HOME/.zsh_history | |
setopt HIST_IGNORE_DUPS SHARE_HISTORY HIST_FCNTL_LOCK | |
bindkey -e | |
# Tell zsh how to find installed completions | |
for p in ${(z)NIX_PROFILES}; do | |
fpath+=($p/share/zsh/site-functions $p/share/zsh/$ZSH_VERSION/functions $p/share/zsh/vendor-completions) | |
done | |
autoload -U promptinit && promptinit && prompt walters | |
autoload -U compinit && compinit | |
autoload -U bashcompinit && bashcompinit | |
# Read system-wide modifications. | |
if test -f /etc/zshrc.local; then | |
source /etc/zshrc.local | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment