43 lines
		
	
	
		
			944 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			944 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#
 | 
						|
# ~/.bashrc
 | 
						|
#
 | 
						|
#start i3 if not running 
 | 
						|
#check if ssh
 | 
						|
#if [ "$SSH_TTY" = "" ]
 | 
						|
#then
 | 
						|
#	#check if xinit running already
 | 
						|
#	STARTX=$(ps -e | grep xinit | awk '{print $4}')
 | 
						|
#	if [ "$STARTX" != "xinit" ]
 | 
						|
#	then
 | 
						|
#		startx ~/.config/X11/xinitrc
 | 
						|
#		clear
 | 
						|
#	fi
 | 
						|
#fi
 | 
						|
# MPD daemon start (if no other user instance exists)
 | 
						|
#[ ! -s ~/.config/mpd/pid ] && mpd
 | 
						|
 | 
						|
 | 
						|
# If not running interactively, don't do anything
 | 
						|
[[ $- != *i* ]] && return
 | 
						|
 | 
						|
PS1='[\u@\h \W]\$ '
 | 
						|
 | 
						|
#path
 | 
						|
PATH=$PATH:~/.scripts
 | 
						|
 | 
						|
## Aliases
 | 
						|
alias ls='ls --color=auto'
 | 
						|
alias mv="mv -v"
 | 
						|
alias rm="rm -v"
 | 
						|
alias cp="cp -v"
 | 
						|
alias ssh="kitty +kitten ssh"
 | 
						|
alias mkdir="mkdir -pv"
 | 
						|
#alias neofetch="neofetch --ascii_distro off"
 | 
						|
 | 
						|
source ~/.local/share/blesh/ble.sh
 | 
						|
 | 
						|
# BEGIN_KITTY_SHELL_INTEGRATION
 | 
						|
if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; fi
 | 
						|
# END_KITTY_SHELL_INTEGRATION
 | 
						|
 |