all repos — dotfiles @ cc00b699a0bf886266c9a3c070f88d97753927c8

linux dotfiles

bashrc: remove unused functions and add new alias
Prithu Goswami pg@prithu.dev
Tue, 26 Apr 2022 16:30:01 +0530
commit

cc00b699a0bf886266c9a3c070f88d97753927c8

parent

b8b2252b60e04e5de64954400b9d17d6135ba947

1 files changed, 2 insertions(+), 19 deletions(-)

jump to
M home/.bashrchome/.bashrc

@@ -56,25 +56,6 @@ cheat(){

curl -s cheat.sh/$1 } -pdrc(){ - ping -c 1 8.8.8.8 > /dev/null || return - rclone cat drop:/pd/pd > /tmp/pd && gpg -o /tmp/pd.tmp -d /tmp/pd &&\ - less /tmp/pd.tmp && rm /tmp/pd.tmp && rm /tmp/pd -} - -pdrl(){ - cp ~/dropbox/pd/pd /tmp/pd || return - gpg -o /tmp/pd.tmp -d /tmp/pd || (rm /tmp/pd && return) - less /tmp/pd.tmp && rm /tmp/pd.tmp && rm /tmp/pd -} - -dropsync(){ - case "$1" in - "pull") rclone sync -v drop:/ $HOME/dropbox/ "${@:2}" ;; - "push") rclone sync -v $HOME/dropbox drop:/ "${@:2}" ;; - esac -} - inb(){ if [ "$#" = "0" ]; then task next +in

@@ -94,6 +75,8 @@ task modify -in "$@"

fi } +alias es="vim +$ '+norm zz' $HOME/docs/org/snippets.md" +alias eb="vim $HOME/docs/org/bookmarks/index.md" alias colemak="setxkbmap -layout 'us,in' -variant colemak, -option 'grp:shifts_toggle' -option 'ctrl:nocaps'" alias qwerty="setxkbmap -layout 'us,in' -option 'grp:shifts_toggle' -option 'ctrl:nocaps'" alias cfi="vim ~/.config/i3/config"