From e62c6d1a089db8c5923445ef9fe1c944a60f451c Mon Sep 17 00:00:00 2001 From: sheldonmlee Date: Thu, 18 Feb 2021 18:25:21 +0800 Subject: [PATCH] Moved nnn related bookmarks to .nnn_bookmarks. --- .bashrc | 8 ++++---- .nnn_bookmarks | 7 +++++++ 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 .nnn_bookmarks diff --git a/.bashrc b/.bashrc index 0a390f1..df4076c 100644 --- a/.bashrc +++ b/.bashrc @@ -56,7 +56,7 @@ n () rm -f "$NNN_TMPFILE" > /dev/null fi } -# bookmarks -export NNN_BMS='p:~/dev/Uni/;' -# use trashcan -export NNN_TRASH=1 +if [ -f ~/.nnn_bookmarks ] +then + source ~/.nnn_bookmarks +fi diff --git a/.nnn_bookmarks b/.nnn_bookmarks new file mode 100644 index 0000000..afc323f --- /dev/null +++ b/.nnn_bookmarks @@ -0,0 +1,7 @@ +#!/bin/bash + +# bookmarks +#export NNN_BMS='i:~/Uni/IntelligentSystems;s:~/Uni/SoftwareEngineeringPractice' +export NNN_BMS='i:~/Uni/IntelligentSystems;s:~/Uni/SoftwareEngineeringPractice' +# use trashcan +export NNN_TRASH=1