diff --git a/dotconfig/bash/.bash_profile b/dotconfig/bash/.bash_profile new file mode 100644 index 0000000..4cc724c --- /dev/null +++ b/dotconfig/bash/.bash_profile @@ -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 diff --git a/dotconfig/bash/.bashrc b/dotconfig/bash/.bashrc new file mode 100644 index 0000000..86ed39f --- /dev/null +++ b/dotconfig/bash/.bashrc @@ -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