add bash_shits

This commit is contained in:
primardj 2024-07-20 18:56:01 +02:00
parent e62dfdb2b0
commit d44f3740b4
2 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,18 @@
#
# ~/.bash_profile
#
#
umask 077
export PATH=$PATH:/home/primardj/.local/bin
#export LD_LIBRARY_PATH=/usr/local/lib/libicu
# wayland quand c possible
export QT_QPA_PLATFORM="wayland;xcb"
export SDL_VIDEODRIVER="wayland,x11"
[[ $(tty) == /dev/tty1 ]] && exec dbus-run-session Hyprland
[[ -f ~/.bashrc ]] && . ~/.bashrc

40
dotconfig/bash/.bashrc Normal file
View file

@ -0,0 +1,40 @@
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
#export PATH=$PATH:/home/primardj/.local/bin
# alias ls='ls --color=auto'
# alias grep='grep --color=auto'
# PS1='[\u@\h \W]\$ '
blue="\[\033[96;10m\]"
red="\[\033[91;10m\]"
green="\[\033[32;10m\]"
white="\[\033[37;10m\]"
bold="\[\033[1m\]"
reset="\[\033[0m\]"
export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
export PS0="${bold}${blue}-> ${reset}"
export PS1="${bold}${blue}⎡\u@\h ${green}\w${blue}] \n${bold}${blue}$ ${reset}"
#export PS1="${bold}${blue}┏ \h@\u ${green}\w${blue}] \n${bold}${blue}┗ $ ${reset}"
alias nv='nvim'
alias ll='ls -l'
alias l='ls -l'
alias lh='ls -lh'
alias la='ls -la'
alias lah='ls -lah'
alias jaaj='nvim'
alias pm='pacman'
alias kssh='kitty +kitten ssh'
complete -F _command sudo
complete -F _command doas
complete -F _command man