-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.bashrc
More file actions
executable file
·41 lines (29 loc) · 1.08 KB
/
Copy path.bashrc
File metadata and controls
executable file
·41 lines (29 loc) · 1.08 KB
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
# `~/.bashrc` is loaded by an interactive non-login bash shell.
# To do nothing if not running interactively.
[[ $- != *i* ]] && return
# To load `.profile`, if it exists.
[ -r ~/.profile ] && source ~/.profile
# Command-line completion resp. using up and down arrow keys.
bind "\"\e[A\": history-search-backward"
bind "\"\e[B\": history-search-forward"
# To ignore case in completing commands.
bind "set completion-ignore-case On"
# To initialize the `bash-completion` package.
source /usr/share/bash-completion/bash_completion
# `-P`: to always expand a symlink.
alias cd="cd -P"
# `-G`: to enable colorized output;
# `-F`: to display a slash;
# `-h`: to use human readable format, e.g. KB, MB, GB,...;
# `-l`: to use long format, including permissions and date modified;
# `-a`: to display hidden files, say `.gitignore`.
alias ls="ls -GFh --color"
alias Ls="ls -alGFh --color"
# Print disk usage.
alias Du="du -shc * | sort -hr"
# To edit with neovim.
alias V="nvim"
# To clear output.
alias C="clear"
# Created by `pipx` on 2021-07-02 18:00:06
export PATH="$PATH:/home/violapterin/.local/bin"