bashrc: Move settings to .bashrc.kuba. Source from .bashrc
This commit is contained in:
19
.bashrc
Executable file → Normal file
19
.bashrc
Executable file → Normal file
@@ -1,15 +1,6 @@
|
|||||||
#
|
# .bashrc
|
||||||
# ~/.bashrc
|
|
||||||
#
|
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
# Source my settings
|
||||||
[[ $- != *i* ]] && return
|
if [ -f "$HOME/.bashrc.kuba" ]; then
|
||||||
alias ls='ls --color=auto'
|
. "$HOME/.bashrc.kuba"
|
||||||
PS1='[\u@\h \W]\$ '
|
fi
|
||||||
export EDITOR="vim"
|
|
||||||
export CUPS_GSSSERVICENAME=HTTP
|
|
||||||
export PATH=$PATH:/home/kuba/bin
|
|
||||||
export PATH="$HOME/git/esp-open-sdk/xtensa-lx106-elf/bin/:$PATH"
|
|
||||||
|
|
||||||
alias dotfiles="/usr/bin/git --git-dir=$HOME/.dotfiles.git --work-tree=$HOME"
|
|
||||||
xhost +local:kuba > /dev/null
|
|
||||||
|
|||||||
20
.bashrc.kuba
Executable file
20
.bashrc.kuba
Executable file
@@ -0,0 +1,20 @@
|
|||||||
|
#
|
||||||
|
# ~/.bashrc.kuba
|
||||||
|
#
|
||||||
|
|
||||||
|
# If not running interactively, don't do anything
|
||||||
|
[[ $- != *i* ]] && return
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
PS1='[\u@\h \W]\$ '
|
||||||
|
export EDITOR="vim"
|
||||||
|
export CUPS_GSSSERVICENAME=HTTP
|
||||||
|
export PATH=$PATH:/home/kuba/bin
|
||||||
|
export PATH="$HOME/git/esp-open-sdk/xtensa-lx106-elf/bin/:$PATH"
|
||||||
|
|
||||||
|
alias dotfiles="/usr/bin/git --git-dir=$HOME/.dotfiles.git --work-tree=$HOME"
|
||||||
|
xhost +local:kuba > /dev/null
|
||||||
|
|
||||||
|
if xhost >& /dev/null ; then
|
||||||
|
# X is running
|
||||||
|
xhost +local:kuba > /dev/null
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user