Skip to content

Instantly share code, notes, and snippets.

@AllenBlank
Created December 1, 2016 23:27
Show Gist options
  • Save AllenBlank/90d3ee3792c829137cec8b4cd18e2879 to your computer and use it in GitHub Desktop.
Save AllenBlank/90d3ee3792c829137cec8b4cd18e2879 to your computer and use it in GitHub Desktop.
Small script to give me a readable screen window name
#!/bin/bash
# takes an input of a path and opens a screen with nice edit in it with the title of the file name
IFS='/' read -ra FILEPATH <<< "$1"
FILENAME=${FILEPATH[-1]}
screen -t $FILENAME ne $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment