Fix duplicate check for interactive bash

This commit is contained in:
Daniel - 2020-07-25 12:20:11 +02:00
parent 5ad5e32b9f
commit 7fa90bc2c2
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 2 additions and 5 deletions

7
bashrc
View File

@ -2,16 +2,13 @@
# Based on example .bashrc as provided by Debian
# This file is only meant for interactive shells
[[ $- != *i* ]] && return
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# Environment variables go here
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
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# History control
HISTCONTROL=ignoreboth
HISTZIE=20000