/
.bashrc
46 lines (35 loc) · 1.03 KB
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# ~/.bashrc
#
#Ibus settings if you need them
#type ibus-setup in terminal to change settings and start the daemon
#delete the hashtags of the next lines and restart
#export GTK_IM_MODULE=ibus
#export XMODIFIERS=@im=dbus
#export QT_IM_MODULE=ibus
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
export HISTCONTROL=ignoreboth:erasedups
# Make Neovim the default editor
export EDITOR='nvim'
export VISUAL='nvim'
PS1='[\u@\h \W]\$ '
if [ -d "$HOME/.bin" ] ;
then PATH="$HOME/.bin:$PATH"
fi
if [ -d "$HOME/.local/bin" ] ;
then PATH="$HOME/.local/bin:$PATH"
fi
## Aliases ##
alias l="exa -la --icons"
alias cl="clear"
alias fonts="fc-list : family | grep Nerd | sort | awk '{print $1 $2 $3}' | uniq"
alias remove="sudo shred -zvu"
# Dotfiles aliases
alias dotfiles="/usr/bin/env git --git-dir=$HOME/dotfiles/ --work-tree=$HOME"
alias da="dotfiles add"
alias dc="dotfiles commit -m"
alias dp="dotfiles push origin master"
export PATH="$PATH:$HOME/.spicetify"
# Setting the starship prompt
eval "$(starship init bash)"