.dotfiles/bashrc

27 lines
543 B
Bash

#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
source /usr/share/doc/pkgfile/command-not-found.bash
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias today='date --iso-8601'
alias c='xclip -sel clip'
alias p='xclip -sel clip -o'
alias .="(alacritty --working-directory . &)"
PS1='[\u@\h \W]\$ '
set -o vi
shopt -s autocd
export PATH="~/.dotfiles/bin:$PATH"
export TERMINAL="alacritty"
PS1='\[\e[92m\]\u@\h\[\e[0m\]:\[\e[96m\]\w\[\e[0m\]\$ '
PROMPT_DIRTRIM=3
fortune | cowsay -r