Commit Graph

30 Commits

Author SHA1 Message Date
8056f66118 Use trash for NNN 2023-08-08 00:21:50 +01:00
b89d454ad8 untrack sway monitor config 2023-06-18 15:26:22 +01:00
2f64f56cac Moved some things to .bash_profile. 2022-06-26 08:46:33 +08:00
d9405c5166 Split .custom_bash_scripts into a multiple files.
The files are in ~/.config/scripts/functions.
2022-06-26 08:43:03 +08:00
2f1f2e7cb9 Moved $PATH changes to .bash_profile 2022-06-26 08:12:10 +08:00
Sheldon Lee
4feed1672f Added function to set working directory.
If a working directory is set with wdir(), bashrc will cd into the
path stored in a file written in /tmp. A new terminal will then
have a shell in that directory.

cwdir() deletes the file in /tmp and pwdir() prints the working
directory from said file if it exists.
2022-06-18 19:48:34 +08:00
Sheldon Lee
adb200c764 Removed obsolete JAVA_HOME export and redirecting errors from grep
command.
2022-06-10 00:33:43 +08:00
Sheldon Lee
dfd2a1c9fd Use system \[\033[01;32m\]\u@\h\[\033[01;34m\] \w\n\$\[\033[00m\] + bash completion for doas. 2022-04-05 19:39:04 +08:00
Sheldon Lee
0734220510 Added $TERMINAL environment variable. 2022-02-27 20:33:26 +08:00
Sheldon Lee
36b711c261 Moved path for wm_scripts. 2021-12-28 21:41:48 +08:00
Sheldon Lee
a66080a173 Added path for wm_scripts. 2021-12-28 21:38:34 +08:00
Sheldon Lee
e0dd129b78 Updated path. 2021-12-28 20:26:25 +08:00
Sheldon Lee
856aa61e83 Exporting laptop ENV var & moved n() function ot .custom_bash_scripts 2021-09-14 17:22:55 +08:00
Sheldon Lee
844dfa789a Changed default editor. 2021-09-13 14:12:58 +08:00
sheldonmlee
58fda8b5e5 Added gtk theme configs. 2021-09-07 18:18:02 +08:00
sheldonmlee
6eafcd7bf1 Added launch option for nnn. 2021-07-27 19:23:43 +08:00
sheldonmlee
d78d435645 Exported environment var for java applications. 2021-03-06 22:05:04 +08:00
sheldonmlee
e62c6d1a08 Moved nnn related bookmarks to .nnn_bookmarks. 2021-02-18 18:25:21 +08:00
sheldonmlee
241133ae07 Changed bookmark 2021-01-25 19:09:31 +08:00
Sheldon Lee
088a21ea04 "$ n" now launches nnn with -A flag. 2020-11-30 17:19:18 +08:00
Sheldon Lee
7b0304cadb Changed bookmark for nnn. 2020-11-19 20:45:00 +08:00
Sheldon Lee
e09b8d45a7 Deleted duplicate code, and did some reformatting. 2020-11-05 00:13:13 +08:00
Sheldon Lee
052ae54137 Moved nnn environment variables to .bashrc. 2020-10-05 23:20:16 +08:00
Sheldon Lee
45f11fee17 Added checks for files before sourcing them. 2020-10-04 11:56:41 +08:00
Sheldon Lee
1bc250953b .fixed path to bash aliases. 2020-09-27 15:40:52 +08:00
Sheldon Lee
11ee84aa35 Moved bash aliases to new file. 2020-09-19 00:18:32 +08:00
Sheldon Lee
33ea3e7891 Added alias. 2020-07-29 18:07:27 +08:00
Sheldon Lee
05ea7ba869 Added alias for tmux to fix vim colors. 2020-07-03 21:39:31 +01:00
Sheldon Lee
29af301968 Added alias to list file/directory sizes in current directory. 2020-06-26 00:16:36 +01:00
Sheldon Lee
15d3ac5692 Added .bash* files 2020-06-24 22:48:14 +01:00