diff options
| author | Druid520 <r.ustydruid520@proton.me> | 2026-08-13 19:54:54 +0000 |
|---|---|---|
| committer | Druid520 <r.ustydruid520@proton.me> | 2026-08-13 19:54:54 +0000 |
| commit | 15aae4388679c800359043212a1a9426f2db7558 (patch) | |
| tree | 916ced6e7db111e8a1e73dbdea13a355f7787d29 | |
| parent | ac434dc1a5d99d6224260a2b92ea04a8f5788a70 (diff) | |
MOD: update cfgs.
| -rw-r--r-- | hushlogin | 0 | ||||
| -rw-r--r-- | profile | 11 | ||||
| -rw-r--r-- | rc (renamed from okshrc) | 36 | ||||
| -rw-r--r-- | rizinrc | 5 |
4 files changed, 9 insertions, 43 deletions
| diff --git a/hushlogin b/hushlogin new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/hushlogin | |||
| diff --git a/profile b/profile index a7e2d8a..943feca 100644 --- a/profile +++ b/profile | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | export ENV="$HOME/.okshrc" | 1 | # path and env |
| 2 | PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/pkg/bin | ||
| 3 | PATH=${PATH}:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin | ||
| 4 | export PATH | ||
| 5 | export ENV=$HOME/.rc | ||
| 2 | 6 | ||
| 3 | if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then | 7 | # show date n cal |
| 4 | startx ~/.xinitrc | 8 | cal -h |
| 5 | fi | ||
| diff --git a/okshrc b/rc index 2e0b382..cc9fc43 100644 --- a/okshrc +++ b/rc | |||
| @@ -1,35 +1,15 @@ | |||
| 1 | # for st and uemacs | 1 | # for history |
| 2 | stty -ixon | ||
| 3 | |||
| 4 | # history | ||
| 5 | export HISTFILE="$HOME/.history" | 2 | export HISTFILE="$HOME/.history" |
| 6 | export HISTSIZE=10000 | 3 | export HISTSIZE=10000 |
| 7 | export HISTFILESIZE=20000 | 4 | export HISTFILESIZE=20000 |
| 8 | export HISTCONTROL=ignoredups:ignorespace | 5 | export HISTCONTROL=ignoredups:ignorespace |
| 9 | 6 | ||
| 10 | # de/wm | ||
| 11 | export DESKTOP_SESSION="sowm" | ||
| 12 | |||
| 13 | # terminal | 7 | # terminal |
| 14 | export GPG_TTY=$(tty) | 8 | export GPG_TTY=$(tty) |
| 15 | export COLORTERM=truecolor | 9 | export COLORTERM=truecolor |
| 16 | 10 | ||
| 17 | # gpg | 11 | # gpg |
| 18 | export GPG_KEY="" | 12 | export GPG_KEY="BBA6732C9C740D27" |
| 19 | |||
| 20 | # deepseek | ||
| 21 | export DEEPSEEK_API_KEY="" | ||
| 22 | |||
| 23 | # paths | ||
| 24 | export PATH="/usr/lib/ccache/bin:$PATH" | ||
| 25 | export PATH="$HOME/.local/bin:$PATH" | ||
| 26 | |||
| 27 | # ccache | ||
| 28 | export CCACHE_MAXSIZE="20G" | ||
| 29 | export CCACHE_COMPRESS="1" | ||
| 30 | export CCACHE_COMPRESSLEVEL="1" | ||
| 31 | export CCACHE_SLOPPINESS="time_macros,include_file_time,include_file_ctime,file_macro" | ||
| 32 | export CCACHE_BASEDIR="$HOME" | ||
| 33 | 13 | ||
| 34 | # editors, pagers, aliases, funcs | 14 | # editors, pagers, aliases, funcs |
| 35 | export EDITOR="mg" | 15 | export EDITOR="mg" |
| @@ -37,11 +17,6 @@ export VISUAL="mg" | |||
| 37 | export PAGER="less" | 17 | export PAGER="less" |
| 38 | export MANPAGER="less -R" | 18 | export MANPAGER="less -R" |
| 39 | 19 | ||
| 40 | alias german='export LANG=de_DE.UTF-8 LC_ALL=de_DE.UTF-8' | ||
| 41 | alias english='export LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8' | ||
| 42 | alias timestamp='date +%Y-%m-%d_%H-%M -u' | ||
| 43 | alias filehash='openssl dgst -shake256 -xoflen 128' | ||
| 44 | alias rconnect='rtl_fm -f 467.7125M -M fm -s 22050 -g 40 -l 50 | aplay -r 22050 -f S16_LE' | ||
| 45 | alias ls='ls -p' | 20 | alias ls='ls -p' |
| 46 | 21 | ||
| 47 | gpgsign() { | 22 | gpgsign() { |
| @@ -109,11 +84,4 @@ gpgsign() { | |||
| 109 | fi | 84 | fi |
| 110 | } | 85 | } |
| 111 | 86 | ||
| 112 | # ps1 | ||
| 113 | # export PS1='[${PWD}]\n> ' this is fancy | ||
| 114 | export PS1="> " | 87 | export PS1="> " |
| 115 | |||
| 116 | # dircolors eval | ||
| 117 | if command -v dircolors >/dev/null 2>&1; then | ||
| 118 | eval "$(dircolors -b)" | ||
| 119 | fi | ||
| diff --git a/rizinrc b/rizinrc deleted file mode 100644 index 1888cbb..0000000 --- a/rizinrc +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | e asm.syntax=att | ||
| 2 | e asm.comments=true | ||
| 3 | e scr.color=true | ||
| 4 | e search.from=0 | ||
| 5 | e search.to=0xffffffff | ||
