From 56692b5364cdedb056bd3969e75350049f0fb902 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Mon, 30 Jan 2017 19:33:11 +0100 Subject: [PATCH] Remove unneeded lines of code Signed-off-by: Severin Kaderli --- .bashrc | 12 +++--------- .config/i3/config | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.bashrc b/.bashrc index 89393e4..60be21b 100644 --- a/.bashrc +++ b/.bashrc @@ -78,15 +78,9 @@ export XMODIFIERS=@im=ibus export VISUAL=vim export EDITOR="$VISUAL" -# enable programmable completion features (you don't need to enable -# this, if it's already enabled in /etc/bash.bashrc and /etc/profile -# sources /etc/bash.bashrc). -if ! shopt -oq posix; then - if [ -f /usr/share/bash-completion/bash_completion ]; then - . /usr/share/bash-completion/bash_completion - elif [ -f /etc/bash_completion ]; then - . /etc/bash_completion - fi +# Enable autocompletion features +if [ -f /etc/bash_completion ]; then + /etc/bash_completion fi # Add users bin directory to the PATH diff --git a/.config/i3/config b/.config/i3/config index 80715bc..a9b20b8 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -213,7 +213,7 @@ exec --no-startup-id compton exec_always --no-startup-id feh --bg-center /home/severin/GoogleDrive/02_Media/01_Images/01_Wallpaper/Desktop/Zelda_1.jpg # Monitor settings -exec_always --no-startup-id xrandr --output $output2 --mode 1280x1024 --pos 1280x0 --rotate normal --output VIRTUAL1 --off --output DP1 --off --output $output1 --mode 1280x1024 --pos 0x0 --rotate normal +exec_always --no-startup-id xrandr --output $output2 --mode 1280x1024 --pos 1280x0 --rotate normal --output $output1 --mode 1280x1024 --pos 0x0 --rotate normal # Other applications exec google-chrome-beta