summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-10-17 15:39:52 -0700
committerxyz <gky44px1999@gmail.com>2021-10-17 15:39:52 -0700
commitbb83945623fa6cef6c195c98a7776f45974c006c (patch)
tree69ee346d3f9c7fda5bcbd17ac755625929e733af /.bashrc
parent965e09f7e577dfde49bd23efc5ee7449e58a674a (diff)
move work-tree to /, delete mods files, addd cfgL
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc56
1 files changed, 0 insertions, 56 deletions
diff --git a/.bashrc b/.bashrc
deleted file mode 100644
index 78401eb3..00000000
--- a/.bashrc
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-
-# $- meaning see https://stackoverflow.com/questions/42757236/what-does-mean-in-bash
-# If not running interactively, don't do anything
-#[[ $- != *i* ]] && return
-# https://github.com/westscz/.dotfiles/blob/master/system/bashrc
-case $- in
- *i*) ;;
- *) return;;
-esac
-
-. /usr/share/fzf/completion.bash
-. /usr/share/fzf/key-bindings.bash
-
-# default PS1
-#PS1='[\u@\h \W]\$ '
-
-# 0: not bold, 91: bright red
-# \e[m act like \e[0m, means reset so commands after it will not be colored
-# https://en.wikipedia.org/wiki/ANSI_escape_code#3-bit_and_4-bit
-# need \[ and \] around color codes so bash ignore color codes when calculating line wraps
-PS1='\[\e[0;91m\][\u@\h \W]\$ \[\e[0m\]'
-
-# https://github.com/LukeSmithxyz/voidrice/blob/master/.config/shell/aliasrc
-for cmd in iotop nethogs hardcode-fixer ventoy; do
- alias $cmd="sudo $cmd"
-done
-unset cmd
-
-alias absolutely-proprietary='absolutely-proprietary -f'
-alias alsamixer='alsamixer -V all'
-alias diff='diff --color=auto'
-alias grep='grep --color=auto'
-alias ls='ls --color=auto'
-alias radeontop='radeontop -c'
-alias rm='rm -I'
-alias sdcv='sdcv --color'
-
-# /dev/ttyACM0 can be in config file, or as environmantal variable, see /usr/share/doc/adafruit-ampy/README.md
-alias ap='sudo ampy -p /dev/ttyACM0'
-alias cfgc='cfg -c'
-alias cfgl='cfg -l'
-alias cfgs='cfg -s'
-alias g=git
-alias ll='ls -lAh --color=auto --group-directories-first'
-alias s='sudo ' # https://askubuntu.com/a/22043
-alias se='sudo -E '
-alias spd='speedtest --no-upload; librespeed-cli --no-upload'
-alias sv='sudoedit'
-alias tp='sudo tio /dev/ttyACM0'
-alias v='$EDITOR'
-alias vc='$EDITOR "$XDG_DOCUMENTS_DIR/notes/computer/command-line_notes.md"'
-alias vq='$EDITOR "$XDG_DOCUMENTS_DIR/notes/others/questions_ideas_tips.md"'
-alias wtr='curl v2.wttr.in'
-
-eval "$(zoxide init bash)"