diff options
| author | Marc Vertes <mvertes@free.fr> | 2025-11-17 13:33:24 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2025-11-17 13:33:24 +0100 |
| commit | 05486bccaf22959c749e8184a286d3b2703f23a8 (patch) | |
| tree | fed7cae42444be339eb84b96292fc5fe92379b2b | |
| parent | 3e1b474cd63143c3c2fb81c449b9f97f61ce31b6 (diff) | |
Update
| -rw-r--r-- | .bashrc | 14 | ||||
| -rw-r--r-- | .nexrc | 1 | ||||
| -rw-r--r-- | .profile | 39 |
3 files changed, 11 insertions, 43 deletions
@@ -3,6 +3,7 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return +export CDPATH=.:.. export PAGER=less export EDITOR=vim export MANPAGER='vim +MANPAGER --not-a-term -' @@ -33,7 +34,8 @@ case $OS in ;; (Darwin) # alias ibrew='arch -x86_64 /usr/local/bin/brew' - source /opt/local/share/fzf/shell/completion.bash + . /opt/local/etc/profile.d/bash_completion.sh + . /opt/local/share/fzf/shell/completion.bash alias ls='ls -GF' ll='ls -AlGFhv' alias ldd='otool -L' trap 'printf "\e]2;%s\a" "$TERM_TAG ${BASH_COMMAND%update_terminal_cwd}"' DEBUG @@ -77,11 +79,11 @@ alias more='less' alias oman='MANPAGER= man' alias rg='rg --smart-case' alias rot13='tr A-Za-z N-ZA-Mn-za-m' -#alias vi='vim' -#alias view='vim -R' -alias vi='nvi' -alias view='nview' -alias ex='nex' +alias vi='vim' +alias view='vim -R' +#alias vi='nvi' +#alias view='nview' +#alias ex='nex' alias ww='vim ~/Wiki/home_page.md' alias y='rlwrap yaegi' alias mp='rlwrap mp' @@ -22,4 +22,5 @@ map gn /[A-Z][A-Za-z0-9_]+[A-Z]/ " Jump to go identifier definition using dynamic tag. map gd D:+1,$d
:1,$!wc -c
0cw:!gotag % "yddu..@y
:ta _
+" Ctrl-$ to tag jump map [27;5;36~ @@ -1,37 +1,2 @@ -# ~/.profile - -export OS=$(~/bin/os) - -case $OS in -(arch|alpine) - PATH=~/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:~/go/bin - export XDG_RUNTIME_DIR=/run/user/$(id -u) - ;; -(fedora-asahi-remix) - PATH=~/bin:/usr/local/bin:/usr/sbin:/usr/bin:~/go/bin - export XKB_DEFAULT_LAYOUT=us XKB_DEFAULT_VARIANT=intl - ;; -(Darwin) - PATH=~/bin:~/mu/bin:/opt/homebrew/bin:/opt/homebrew/opt/python/libexec/bin:$PATH:~/go/bin:~/.cargo/bin:~/.local/bin - export REPLYTO='mvertes@free.fr' - export LANG=en_US.UTF-8 - . /opt/homebrew/etc/profile.d/bash_completion.sh - tabs -4 - export HOMEBREW_NO_ANALYTICS=1 - ;; -(termux) - PATH=~/bin:${HOME%/*}/usr/bin:~/go/bin - ;; -esac - -if [ -z "$SSH_AUTH_SOCK" ]; then - eval "$(ssh-agent -s)" - ssh-add -fi - -case $SHELL in -(*/ash) export ENV=~/.shrc ;; -(*/bash) type -t p >/dev/null || . ~/.bashrc ;; -esac - -[ "$(tty)" = /dev/tty1 ] && [ -x /usr/bin/sway ] && exec dbus-run-session -- sway || true +PATH=$PATH:/opt/local/bin:/opt/local/sbin:~/bin:~/go/bin:~/Library/Python/3.9/bin +export LANG=en_US.UTF-8 |
