Files
profile/profile.conf
2026-03-10 10:53:31 +01:00

51 lines
1.4 KiB
Plaintext
Executable File

[system]
# System section is used to set system-wide variables, such as PATH, environment variables, and other
# settings that affect the entire system. It is also a good place to set some global variables that can be used by the profile or its functions, such as the default editor and pager.
# Set bash history
HISTSIZE=50000
HISTIGNORE="&:[bf]g:exit"
# Set default pager
PAGER=less
# More colors
TERM=xterm-256color
[info]
# Default city for weather forcast
DEFAULT_CITY="Toulouse"
[general]
# General section allow to set any variable that can be used by the profile or its functions. It is
# also a good place to set some global variables that can be used by the profile or its functions, such as
# the compilation flags and make options.
# Set some compiling values
CFLAGS="-O2 -pipe -march=native"
MAKEFLAGS='-j12'
PKGSOURCES='/share/src/archives'
[aliases]
ll='ls -laFh --color=auto'
la='ls -Ah --color=auto'
l='ls -CF --color=auto'
ls='ls --color=auto'
grep='grep --color=auto'
egrep='egrep --color=auto'
fgrep='fgrep --color=auto'
qfind="find . -name "
mkck='make check'
mkin='make install'
mkdin='make DESTDIR=$PWD/dest-install install'
ssh='ssh -Y'
wget='wget -c' # resume mode by default
myip='curl ip.appspot.com'
# Human readable by default
df='df -H'
du='du -ch'
sdu='du -sk ./* | sort -n'
hdu='du -hs ./* | sort -H'