Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Otto-AA/aw-watcher-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

aw-watcher-bash [WIP]

Supports:

  • bash
  • zsh

Installation

This is the general watcher all shell-specific watchers send the data to.

NOTE This is not needed for zsh, only for bash

curl https://raw.githubusercontent.com/rcaloras/bash-preexec/master/bash-preexec.sh -o ~/.bash-preexec.sh

Download aw-watcher-bash

git clone https://github.com/otto-aa/aw-watcher-bash

Run aw-watcher-terminal in the background

Make sure that aw-watcher-terminal is running in the background. This is needed because aw-watcher-bash is just a hook which sends terminal info to aw-watcher-terminal, the data itself is then packaged and sent by aw-watcher-terminal so without that running all data will be lost.

Add following code to the bottom of your ~/.bashrc or ~/.zshrc file

Replace the AW_WATCHER_BASH variable to the path to the aw-watcher-bash.sh script on your computer

source $AW_WATCHER_BASH

Make sure aw-watcher-terminal is started

As described here

Complete

Open a new terminal and start executing commands!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages