From 7d6c6d5efcb99f7a18e66c178cfdcce8b231861d Mon Sep 17 00:00:00 2001 From: Nulo Date: Sun, 10 Apr 2022 12:01:16 -0300 Subject: [PATCH] Borrar bash --- .bash_profile | 11 ----------- .bashrc | 52 --------------------------------------------------- .inputrc | 8 -------- 3 files changed, 71 deletions(-) delete mode 100755 .bash_profile delete mode 100644 .bashrc delete mode 100644 .inputrc diff --git a/.bash_profile b/.bash_profile deleted file mode 100755 index 841ef65..0000000 --- a/.bash_profile +++ /dev/null @@ -1,11 +0,0 @@ -. ~/.profile -if ! "$REMOTE" && test "$(tty)" = /dev/tty1; then - mkdir -p "$HOME/.local/share/river" - log="$HOME/.local/share/river/$(date +%Y-%m-%d@%H:%M:%S).log" - exec env \ - XDG_CURRENT_DESKTOP=river \ - XDG_SESSION_DESKTOP=river \ - dbus-run-session river -log-level debug >"$log" 2>&1 -fi -. ~/.bashrc - diff --git a/.bashrc b/.bashrc deleted file mode 100644 index 2d6364e..0000000 --- a/.bashrc +++ /dev/null @@ -1,52 +0,0 @@ -source ~/.profile - -# ------------------------------------------------------------------------------ -# History config -export HISTSIZE=10000 -export HISTFILESIZE=10000 -shopt -s histappend # Append to history file instead of overwriting -shopt -s cmdhist # Write a multi line command in a single line -PROMPT_COMMAND="history -a;$PROMPT_COMMAND" # Save history on every command - -stty -ixon # Make bash receive C-s for history search - -# ------------------------------------------------------------------------------ -# Aliases -alias gitdf='git --git-dir=$HOME/.config/dotfiles/ --work-tree=$HOME' -alias ssh='TERM=xterm-256color ssh' -alias e="$EDITOR" -alias r="trash -r" - -# ------------------------------------------------------------------------------ -# Notify terminal of current working directory -# https://codeberg.org/dnkl/foot/wiki#user-content-bash-and-zsh -_urlencode() { - local length="${#1}" - for (( i = 0; i < length; i++ )); do - local c="${1:$i:1}" - case $c in - %) printf '%%%02X' "'$c" ;; - *) printf "%s" "$c" ;; - esac - done -} - -osc7_cwd() { - printf '\e]7;file://%s%s\e\\' "$HOSTNAME" "$(_urlencode "$PWD")" -} - -if ! "$REMOTE"; then - PROMPT_COMMAND="osc7_cwd;$PROMPT_COMMAND" -fi - -# ------------------------------------------------------------------------------ -# GPG SSH agent -if ! "$REMOTE"; then - unset SSH_AGENT_PID - if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then - # Start if not started - gpg-agent --daemon 2>/dev/null - export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" - fi -fi - diff --git a/.inputrc b/.inputrc deleted file mode 100644 index bff5c1a..0000000 --- a/.inputrc +++ /dev/null @@ -1,8 +0,0 @@ -$include /etc/inputrc -set completion-ignore-case on -set completion-query-items -1 -set show-all-if-unmodified on -set show-all-if-ambiguous off -set colored-completion-prefix on -set colored-stats on -set visible-stats on