From 83b4328f1ce36ee11e64c6e58a13a9bf07600a02 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Tue, 15 Nov 2022 23:10:12 +0500 Subject: [PATCH] added bashrc --- .bashrc | 9 +++++++++ restorefiles.sh | 4 ++++ 2 files changed, 13 insertions(+) create mode 100644 .bashrc create mode 100755 restorefiles.sh diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..45bdc79 --- /dev/null +++ b/.bashrc @@ -0,0 +1,9 @@ + + +#load ble.sh +source ~/.local/share/blesh/ble.sh + + +neofetch +cd() { builtin cd "$@" && pwd > ~/.cache/whereami; } +cd $(cat ~/.cache/whereami) diff --git a/restorefiles.sh b/restorefiles.sh new file mode 100755 index 0000000..d8dbab4 --- /dev/null +++ b/restorefiles.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 +ln -s $PWD/.bashrc $HOME/