From a76a49830a737f29ed1e01d89fe01e823c6a9556 Mon Sep 17 00:00:00 2001 From: Nemo Date: Mon, 22 Apr 2019 10:35:19 +0530 Subject: [PATCH] mlock doesn't work, new aliases --- files/bash/.bashrc | 4 ++++ files/i3/.i3/config | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/files/bash/.bashrc b/files/bash/.bashrc index 29b1fd1..835565f 100644 --- a/files/bash/.bashrc +++ b/files/bash/.bashrc @@ -324,6 +324,8 @@ alias lt='ls -ltr' # sort by date, most recent last alias lu='ls -ltur' # sort by and show access time, most recent last alias lx='ls -lXB' # sort by extension alias sss='sudo systemctl start' +alias sse='sudo systemctl enable' +alias ssd='sudo systemctl disable' alias ssS='sudo systemctl stop' alias ssh="cat ~/.ssh/config.d/p* > ~/.ssh/config; ssh" alias ssr='sudo systemctl restart' @@ -359,6 +361,8 @@ alias tfa='terraform apply --auto-approve' alias tfat='terraform apply --auto-approve --target ' alias tfit='terraform init' +alias ctop='docker run --name ctop -it --rm -v /var/run/docker.sock:/var/run/docker.sock:ro quay.io/vektorlab/ctop ' + ##### History Shenanigans export HISTCONTROL=ignorespace:ignoredups:erasedups # for 'ignoreboth': ignore duplicates and /^\s/ export HISTFILE='/home/nemo/.bash_history' diff --git a/files/i3/.i3/config b/files/i3/.i3/config index 0eb887a..1a55f23 100644 --- a/files/i3/.i3/config +++ b/files/i3/.i3/config @@ -21,7 +21,7 @@ exec --no-startup-id aa-notify -p -s 1 -w 60 -f /var/log/audit/audit.log # terminal # https://www.systutorials.com/docs/linux/man/1-urxvtd/ -exec urxvtd --quiet --mlock --fork --opendisplay +exec urxvtd --quiet --fork --opendisplay # Set default backlight exec xbacklight -set 15