-
Notifications
You must be signed in to change notification settings - Fork 148
/
.autostart
51 lines (36 loc) · 867 Bytes
/
.autostart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/env bash
#cursor bar or bold pipe
#echo -e "\e[2 q"
export COLUMNS LINES
#cursor underline
echo -e "\e[4 q"
#cursor pipe
#echo -e "\e[6 q"
#c
#if [ "$TMUX" == "" ]; then
# tmux
#fi
#if [ ! -f ~/.scripts/pid/login ]; then
# bash ~/.scripts/login.sh
#fi
#neo
#clear
rxfetch
# SSH for Git & GitHub!
#SSH_ENV="${HOME}/.ssh/agent-environment"
#function start_agent {
# termux-toast -b "#FFFFFF" -c "#000000" -g top "Initialising new SSH Agent" &> /dev/null
# ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}"
# termux-toast -b "#FFFFFF" -c "#000000" -g top "Succeeded" &> /dev/null
# chmod 600 "${SSH_ENV}"
# . "${SSH_ENV}" > /dev/null
# ssh-add;
#}
#if [ -f "${SSH_ENV}" ]; then
# . "${SSH_ENV}" > /dev/null
# ps -ef | grep ${SSH_AGENT_PID} | grep ssh-agent$ > /dev/null || {
# start_agent;
# }
#else
# start_agent
#fi