dotfiles/bash/.bashrc

29 lines
523 B
Bash
Raw Normal View History

2024-08-06 18:26:09 -03:00
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
2024-08-10 09:58:50 -03:00
# General aliases
2024-08-06 18:26:09 -03:00
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias nano='nano -i'
alias stow='stow -t ~/'
2024-08-07 20:37:38 -03:00
alias ls='eza -l --icons'
alias ll='eza -la --icons'
2024-08-06 18:26:09 -03:00
alias ip='ip -c'
2024-08-07 20:15:40 -03:00
alias vim='nvim'
2024-08-10 09:58:50 -03:00
alias cat='bat'
alias grep='rg'
2024-08-06 18:26:09 -03:00
2024-08-10 09:58:50 -03:00
# Directory management alaiases
2024-08-06 18:26:09 -03:00
alias cp='cp -v'
alias mv='mv -v'
alias rm='rm -v'
alias mkdir='mkdir -pv'
alias rmdir='rmdir -v'
2024-08-08 19:28:58 -03:00
2024-08-09 19:30:17 -03:00
PATH="$PATH:/home/sencyy/.local/bin"
2024-08-06 18:26:09 -03:00
PS1='[\u@\h \W]\$ '