-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bash_aliases
More file actions
38 lines (29 loc) · 742 Bytes
/
.bash_aliases
File metadata and controls
38 lines (29 loc) · 742 Bytes
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
# TODO: Move this to external config (?)
export COLORTERM=truecolor
export MICRO_TRUECOLOR=1
alias adu='sudo apt update && sudo apt upgrade'
alias ai='sudo apt install'
alias acs='apt search'
alias fd='fdfind'
alias bat='batcat'
alias df='dfc'
alias ip='ip -c'
alias ipa='ip -4 -br addr'
alias vim='nvim'
alias ls='$(command -v lsd || command -v exa || echo ls) -h --color=auto'
alias l='ls -F'
alias la='ls -a'
alias ll='ls -alF'
alias pwd='pwd; pwd -P'
alias aliascfg='micro ~/.bash_aliases && source ~/.bash_aliases'
#alias aws-sso-util='aws-sso-util.exe'
# Function to set terminal title
f2() {
local title
if [[ -n "$1" ]]; then
title="$1"
else
title="$PWD"
fi
echo -ne "\033]0;$title\007"
}