#!/usr/bin/env bash #-*-coding:utf-8 -*- #Auto updated? # Yes #File: # repomacs #Author: # The-Repo-Club [wayne6324@gmail.com] #Github: # https://github.com/The-Repo-Club/ # #Created: # Wed 02 August 2023, 09:30:44 AM [GMT+1] #Modified: # Wed 02 August 2023, 09:33:35 AM [GMT+1] # #Description: # run emacs in client mode # #Dependencies: # emacs # if command -v emacsclient &>/dev/null; then if ! pgrep -f "emacsclient" >/dev/null; then ( emacsclient -c ) & else echo "repomacs already Running" fi else echo "emacsclient can not be found" fi