Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ecn for emacs using already exist window
Other convince changes
- Loading branch information
Showing
6 changed files
with
79 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule .oh-my-zsh
updated
from 434f3b to 599831
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
# tabname for iterm 2 | ||
function tabname() { | ||
export DISABLE_AUTO_TITLE="true" | ||
echo -e "\033];$1\007"; | ||
} | ||
function tabname() { | ||
export DISABLE_AUTO_TITLE="true" | ||
echo -e "\033];$1\007"; | ||
} | ||
|
||
function gpusim_env() { | ||
|
||
} | ||
|
||
function brewlist() { | ||
if [[ $1 == "deps" ]]; then | ||
brew list | while read cask; do echo -n $fg[blue] $cask $fg[white]; brew deps $cask | awk '{printf(" %s ", $0)}'; echo ""; done | ||
elif [[ $1 == "uses" ]]; then | ||
brew list | while read cask; do echo -n $fg[blue] $cask $fg[white]; brew uses --installed $cask | awk '{printf(" %s ", $0)}'; echo ""; done | ||
else | ||
echo "Usage: brewlist [deps, uses]" | ||
fi | ||
} |