Fix duplicate check for interactive bash
This commit is contained in:
parent
5ad5e32b9f
commit
7fa90bc2c2
7
bashrc
7
bashrc
|
@ -2,16 +2,13 @@
|
||||||
|
|
||||||
# Based on example .bashrc as provided by Debian
|
# Based on example .bashrc as provided by Debian
|
||||||
|
|
||||||
# This file is only meant for interactive shells
|
# If not running interactively, don't do anything
|
||||||
[[ $- != *i* ]] && return
|
[ -z "$PS1" ] && return
|
||||||
|
|
||||||
# Environment variables go here
|
# Environment variables go here
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
export PATH=${HOME}/.local/share/perl5/bin:${HOME}/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/bin:/usr/sbin:/sbin:/usr/local/sbin
|
export PATH=${HOME}/.local/share/perl5/bin:${HOME}/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/bin:/usr/sbin:/sbin:/usr/local/sbin
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
|
||||||
[ -z "$PS1" ] && return
|
|
||||||
|
|
||||||
# History control
|
# History control
|
||||||
HISTCONTROL=ignoreboth
|
HISTCONTROL=ignoreboth
|
||||||
HISTZIE=20000
|
HISTZIE=20000
|
||||||
|
|
Loading…
Reference in New Issue