aboutsummaryrefslogtreecommitdiffstats
path: root/.bash_aliases
diff options
context:
space:
mode:
authormjfernez <mjf@mjfer.net>2021-12-22 17:50:34 -0500
committermjfernez <mjf@mjfer.net>2021-12-22 17:50:34 -0500
commit864ce0cff6ad530cdbe0bee133204c114d1905da (patch)
tree428b2c46ceeda798fda1f5c637f11118aac3135f /.bash_aliases
downloaddotfiles-864ce0cff6ad530cdbe0bee133204c114d1905da.tar.gz
first commitHEADmaster
Diffstat (limited to '.bash_aliases')
-rw-r--r--.bash_aliases33
1 files changed, 33 insertions, 0 deletions
diff --git a/.bash_aliases b/.bash_aliases
new file mode 100644
index 0000000..d40ce6e
--- /dev/null
+++ b/.bash_aliases
@@ -0,0 +1,33 @@
+##Fun bullshit aliases
+# quicker base64 decryption
+alias based="base64 -d"
+# color cat, pip install Pygments, if you dont have
+alias ccat="pygmentize -g -O style=fruity"
+# sources changes to bashrc faster
+alias bashrc="source ~/.bashrc"
+# easy dec to hex, must be single quoted or bash misunderstands
+alias hexcalc='echo "obase=16;$(cat)" | bc'
+# vim/gdb like quit
+alias q="exit"
+alias :q="exit"
+##Necessary aliases
+# pull input to clipboard
+alias clip="xclip -selection c"
+# some more ls aliases
+alias ll="ls -lh"
+alias la="ls -Ah"
+alias lt="ls -Aulth"
+alias lS="ls -AlSh"
+alias l="ls"
+# makes speaker-test less annoying
+alias speaker-test="speaker-test -t wav -c 2 -l 1"
+
+##Python stuff
+# virtual env aliases
+alias venv="source ./env/bin/activate"
+alias newvenv="python -m venv ./env"
+# pycharm because they made it weird
+alias charm="/opt/pycharm-community-2020.3.3/bin/pycharm.sh"
+
+# old st config, now I just stuck this in /bin/st
+# alias st="/usr/local/bin/st -f 'Fira Mono for Powerline-18' -e tmux"