⚡ refacts bash/profile setup
This commit is contained in:
14
.bash/hooks/README.md
Normal file
14
.bash/hooks/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Hook Scripts
|
||||
|
||||
Bash hook scripts executed at specific points during shell operation.
|
||||
|
||||
## Files
|
||||
|
||||
- `oncd` - Executed on directory change
|
||||
- `onprompt` - Executed when displaying prompt
|
||||
|
||||
## Important Notes
|
||||
|
||||
- Hooks should be fast and non-blocking
|
||||
- Currently minimal implementations
|
||||
- Can be extended for additional functionality
|
||||
1
.bash/hooks/oncd
Executable file
1
.bash/hooks/oncd
Executable file
@@ -0,0 +1 @@
|
||||
#!/bin/env bash
|
||||
2
.bash/hooks/onprompt
Executable file
2
.bash/hooks/onprompt
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/env bash
|
||||
history -a
|
||||
Reference in New Issue
Block a user